forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote branch 'origin' into secretlab/next-devicetree
Merging in current state of Linus' tree to deal with merge conflicts and build failures in vio.c after merge. Conflicts: drivers/i2c/busses/i2c-cpm.c drivers/i2c/busses/i2c-mpc.c drivers/net/gianfar.c Also fixed up one line in arch/powerpc/kernel/vio.c to use the correct node pointer. Signed-off-by: Grant Likely <[email protected]>
- Loading branch information
Showing
6,983 changed files
with
473,508 additions
and
213,620 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
What: /sys/bus/usb/devices/.../power/level | ||
Date: March 2007 | ||
KernelVersion: 2.6.21 | ||
Contact: Alan Stern <[email protected]> | ||
Description: | ||
Each USB device directory will contain a file named | ||
power/level. This file holds a power-level setting for | ||
the device, either "on" or "auto". | ||
|
||
"on" means that the device is not allowed to autosuspend, | ||
although normal suspends for system sleep will still | ||
be honored. "auto" means the device will autosuspend | ||
and autoresume in the usual manner, according to the | ||
capabilities of its driver. | ||
|
||
During normal use, devices should be left in the "auto" | ||
level. The "on" level is meant for administrative uses. | ||
If you want to suspend a device immediately but leave it | ||
free to wake up in response to I/O requests, you should | ||
write "0" to power/autosuspend. | ||
|
||
Device not capable of proper suspend and resume should be | ||
left in the "on" level. Although the USB spec requires | ||
devices to support suspend/resume, many of them do not. | ||
In fact so many don't that by default, the USB core | ||
initializes all non-hub devices in the "on" level. Some | ||
drivers may change this setting when they are bound. | ||
|
||
This file is deprecated and will be removed after 2010. | ||
Use the power/control file instead; it does exactly the | ||
same thing. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
rfkill - radio frequency (RF) connector kill switch support | ||
|
||
For details to this subsystem look at Documentation/rfkill.txt. | ||
|
||
What: /sys/class/rfkill/rfkill[0-9]+/state | ||
Date: 09-Jul-2007 | ||
KernelVersion v2.6.22 | ||
Contact: [email protected] | ||
Description: Current state of the transmitter. | ||
This file is deprecated and sheduled to be removed in 2014, | ||
because its not possible to express the 'soft and hard block' | ||
state of the rfkill driver. | ||
Values: A numeric value. | ||
0: RFKILL_STATE_SOFT_BLOCKED | ||
transmitter is turned off by software | ||
1: RFKILL_STATE_UNBLOCKED | ||
transmitter is (potentially) active | ||
2: RFKILL_STATE_HARD_BLOCKED | ||
transmitter is forced off by something outside of | ||
the driver's control. | ||
|
||
What: /sys/class/rfkill/rfkill[0-9]+/claim | ||
Date: 09-Jul-2007 | ||
KernelVersion v2.6.22 | ||
Contact: [email protected] | ||
Description: This file is deprecated because there no longer is a way to | ||
claim just control over a single rfkill instance. | ||
This file is scheduled to be removed in 2012. | ||
Values: 0: Kernel handles events |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
rfkill - radio frequency (RF) connector kill switch support | ||
|
||
For details to this subsystem look at Documentation/rfkill.txt. | ||
|
||
For the deprecated /sys/class/rfkill/*/state and | ||
/sys/class/rfkill/*/claim knobs of this interface look in | ||
Documentation/ABI/obsolete/sysfs-class-rfkill. | ||
|
||
What: /sys/class/rfkill | ||
Date: 09-Jul-2007 | ||
KernelVersion: v2.6.22 | ||
Contact: [email protected], | ||
Description: The rfkill class subsystem folder. | ||
Each registered rfkill driver is represented by an rfkillX | ||
subfolder (X being an integer > 0). | ||
|
||
|
||
What: /sys/class/rfkill/rfkill[0-9]+/name | ||
Date: 09-Jul-2007 | ||
KernelVersion v2.6.22 | ||
Contact: [email protected] | ||
Description: Name assigned by driver to this key (interface or driver name). | ||
Values: arbitrary string. | ||
|
||
|
||
What: /sys/class/rfkill/rfkill[0-9]+/type | ||
Date: 09-Jul-2007 | ||
KernelVersion v2.6.22 | ||
Contact: [email protected] | ||
Description: Driver type string ("wlan", "bluetooth", etc). | ||
Values: See include/linux/rfkill.h. | ||
|
||
|
||
What: /sys/class/rfkill/rfkill[0-9]+/persistent | ||
Date: 09-Jul-2007 | ||
KernelVersion v2.6.22 | ||
Contact: [email protected] | ||
Description: Whether the soft blocked state is initialised from non-volatile | ||
storage at startup. | ||
Values: A numeric value. | ||
0: false | ||
1: true | ||
|
||
|
||
What: /sys/class/rfkill/rfkill[0-9]+/hard | ||
Date: 12-March-2010 | ||
KernelVersion v2.6.34 | ||
Contact: [email protected] | ||
Description: Current hardblock state. This file is read only. | ||
Values: A numeric value. | ||
0: inactive | ||
The transmitter is (potentially) active. | ||
1: active | ||
The transmitter is forced off by something outside of | ||
the driver's control. | ||
|
||
|
||
What: /sys/class/rfkill/rfkill[0-9]+/soft | ||
Date: 12-March-2010 | ||
KernelVersion v2.6.34 | ||
Contact: [email protected] | ||
Description: Current softblock state. This file is read and write. | ||
Values: A numeric value. | ||
0: inactive | ||
The transmitter is (potentially) active. | ||
1: active | ||
The transmitter is turned off by software. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -133,6 +133,46 @@ Description: | |
The symbolic link points to the PCI device sysfs entry of the | ||
Physical Function this device associates with. | ||
|
||
|
||
What: /sys/bus/pci/slots/... | ||
Date: April 2005 (possibly older) | ||
KernelVersion: 2.6.12 (possibly older) | ||
Contact: [email protected] | ||
Description: | ||
When the appropriate driver is loaded, it will create a | ||
directory per claimed physical PCI slot in | ||
/sys/bus/pci/slots/. The names of these directories are | ||
specific to the driver, which in turn, are specific to the | ||
platform, but in general, should match the label on the | ||
machine's physical chassis. | ||
|
||
The drivers that can create slot directories include the | ||
PCI hotplug drivers, and as of 2.6.27, the pci_slot driver. | ||
|
||
The slot directories contain, at a minimum, a file named | ||
'address' which contains the PCI bus:device:function tuple. | ||
Other files may appear as well, but are specific to the | ||
driver. | ||
|
||
What: /sys/bus/pci/slots/.../function[0-7] | ||
Date: March 2010 | ||
KernelVersion: 2.6.35 | ||
Contact: [email protected] | ||
Description: | ||
If PCI slot directories (as described above) are created, | ||
and the physical slot is actually populated with a device, | ||
symbolic links in the slot directory pointing to the | ||
device's PCI functions are created as well. | ||
|
||
What: /sys/bus/pci/devices/.../slot | ||
Date: March 2010 | ||
KernelVersion: 2.6.35 | ||
Contact: [email protected] | ||
Description: | ||
If PCI slot directories (as described above) are created, | ||
a symbolic link pointing to the slot directory will be | ||
created as well. | ||
|
||
What: /sys/bus/pci/slots/.../module | ||
Date: June 2009 | ||
Contact: [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,34 +14,6 @@ Description: | |
The autosuspend delay for newly-created devices is set to | ||
the value of the usbcore.autosuspend module parameter. | ||
|
||
What: /sys/bus/usb/devices/.../power/level | ||
Date: March 2007 | ||
KernelVersion: 2.6.21 | ||
Contact: Alan Stern <[email protected]> | ||
Description: | ||
Each USB device directory will contain a file named | ||
power/level. This file holds a power-level setting for | ||
the device, either "on" or "auto". | ||
|
||
"on" means that the device is not allowed to autosuspend, | ||
although normal suspends for system sleep will still | ||
be honored. "auto" means the device will autosuspend | ||
and autoresume in the usual manner, according to the | ||
capabilities of its driver. | ||
|
||
During normal use, devices should be left in the "auto" | ||
level. The "on" level is meant for administrative uses. | ||
If you want to suspend a device immediately but leave it | ||
free to wake up in response to I/O requests, you should | ||
write "0" to power/autosuspend. | ||
|
||
Device not capable of proper suspend and resume should be | ||
left in the "on" level. Although the USB spec requires | ||
devices to support suspend/resume, many of them do not. | ||
In fact so many don't that by default, the USB core | ||
initializes all non-hub devices in the "on" level. Some | ||
drivers may change this setting when they are bound. | ||
|
||
What: /sys/bus/usb/devices/.../power/persist | ||
Date: May 2007 | ||
KernelVersion: 2.6.23 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ Date: September 2008 | |
Contact: Badari Pulavarty <[email protected]> | ||
Description: | ||
The file /sys/devices/system/memory/memoryX/state | ||
is read-write. When read, it's contents show the | ||
is read-write. When read, its contents show the | ||
online/offline state of the memory section. When written, | ||
root can toggle the the online/offline state of a removable | ||
memory section (see removable file description above) | ||
|
9 changes: 9 additions & 0 deletions
9
Documentation/ABI/testing/sysfs-devices-platform-_UDC_-gadget
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
What: /sys/devices/platform/_UDC_/gadget/suspended | ||
Date: April 2010 | ||
Contact: Fabien Chouteau <[email protected]> | ||
Description: | ||
Show the suspend state of an USB composite gadget. | ||
1 -> suspended | ||
0 -> resumed | ||
|
||
(_UDC_ is the name of the USB Device Controller driver) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/operation_mode | ||
Date: March 2010 | ||
Contact: Bruno Prémont <[email protected]> | ||
Description: Make it possible to switch the PicoLCD device between LCD | ||
(firmware) and bootloader (flasher) operation modes. | ||
|
||
Reading: returns list of available modes, the active mode being | ||
enclosed in brackets ('[' and ']') | ||
|
||
Writing: causes operation mode switch. Permitted values are | ||
the non-active mode names listed when read. | ||
|
||
Note: when switching mode the current PicoLCD HID device gets | ||
disconnected and reconnects after above delay (see attribute | ||
operation_mode_delay for its value). | ||
|
||
|
||
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/operation_mode_delay | ||
Date: April 2010 | ||
Contact: Bruno Prémont <[email protected]> | ||
Description: Delay PicoLCD waits before restarting in new mode when | ||
operation_mode has changed. | ||
|
||
Reading/Writing: It is expressed in ms and permitted range is | ||
0..30000ms. | ||
|
||
|
||
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/fb_update_rate | ||
Date: March 2010 | ||
Contact: Bruno Prémont <[email protected]> | ||
Description: Make it possible to adjust defio refresh rate. | ||
|
||
Reading: returns list of available refresh rates (expressed in Hz), | ||
the active refresh rate being enclosed in brackets ('[' and ']') | ||
|
||
Writing: accepts new refresh rate expressed in integer Hz | ||
within permitted rates. | ||
|
||
Note: As device can barely do 2 complete refreshes a second | ||
it only makes sense to adjust this value if only one or two | ||
tiles get changed and it's not appropriate to expect the application | ||
to flush it's tiny changes explicitely at higher than default rate. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
What: /sys/bus/hid/drivers/prodikeys/.../channel | ||
Date: April 2010 | ||
KernelVersion: 2.6.34 | ||
Contact: Don Prince <[email protected]> | ||
Description: | ||
Allows control (via software) the midi channel to which | ||
that the pc-midi keyboard will output.midi data. | ||
Range: 0..15 | ||
Type: Read/write | ||
What: /sys/bus/hid/drivers/prodikeys/.../sustain | ||
Date: April 2010 | ||
KernelVersion: 2.6.34 | ||
Contact: Don Prince <[email protected]> | ||
Description: | ||
Allows control (via software) the sustain duration of a | ||
note held by the pc-midi driver. | ||
0 means sustain mode is disabled. | ||
Range: 0..5000 (milliseconds) | ||
Type: Read/write | ||
What: /sys/bus/hid/drivers/prodikeys/.../octave | ||
Date: April 2010 | ||
KernelVersion: 2.6.34 | ||
Contact: Don Prince <[email protected]> | ||
Description: | ||
Controls the octave shift modifier in the pc-midi driver. | ||
The octave can be shifted via software up/down 2 octaves. | ||
0 means the no ocatve shift. | ||
Range: -2..2 (minus 2 to plus 2) | ||
Type: Read/Write |
Oops, something went wrong.