diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-01 15:10:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-01 15:10:44 -0400 |
commit | 06d2fe153b9b35e57221e35831a26918f462db68 (patch) | |
tree | f77cb72dfba7f2a47ceb93e120abd9399a24a1b9 /Documentation/ABI | |
parent | 3aebd34b1200a902a8662da8845824a02f00772e (diff) | |
parent | e0f21e6d52cc245e7d4f7e02ca4b7b6571660ec2 (diff) |
Merge tag 'driver-core-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
Pull driver core merge from Greg Kroah-Hartman:
"Here is the big driver core update for 3.7-rc1.
A number of firmware_class.c updates (as you saw a month or so ago),
and some hyper-v updates and some printk fixes as well. All patches
that are outside of the drivers/base area have been acked by the
respective maintainers, and have all been in the linux-next tree for a
while.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>"
* tag 'driver-core-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (95 commits)
memory: tegra{20,30}-mc: Fix reading incorrect register in mc_readl()
device.h: Add missing inline to #ifndef CONFIG_PRINTK dev_vprintk_emit
memory: emif: Add ifdef CONFIG_DEBUG_FS guard for emif_debugfs_[init|exit]
Documentation: Fixes some translation error in Documentation/zh_CN/gpio.txt
Documentation: Remove 3 byte redundant code at the head of the Documentation/zh_CN/arm/booting
Documentation: Chinese translation of Documentation/video4linux/omap3isp.txt
device and dynamic_debug: Use dev_vprintk_emit and dev_printk_emit
dev: Add dev_vprintk_emit and dev_printk_emit
netdev_printk/netif_printk: Remove a superfluous logging colon
netdev_printk/dynamic_netdev_dbg: Directly call printk_emit
dev_dbg/dynamic_debug: Update to use printk_emit, optimize stack
driver-core: Shut up dev_dbg_reatelimited() without DEBUG
tools/hv: Parse /etc/os-release
tools/hv: Check for read/write errors
tools/hv: Fix exit() error code
tools/hv: Fix file handle leak
Tools: hv: Implement the KVP verb - KVP_OP_GET_IP_INFO
Tools: hv: Rename the function kvp_get_ip_address()
Tools: hv: Implement the KVP verb - KVP_OP_SET_IP_INFO
Tools: hv: Add an example script to configure an interface
...
Diffstat (limited to 'Documentation/ABI')
-rw-r--r-- | Documentation/ABI/testing/sysfs-class-extcon | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/Documentation/ABI/testing/sysfs-class-extcon b/Documentation/ABI/testing/sysfs-class-extcon index 20ab361bd8c6..57a726232912 100644 --- a/Documentation/ABI/testing/sysfs-class-extcon +++ b/Documentation/ABI/testing/sysfs-class-extcon | |||
@@ -13,7 +13,7 @@ Description: | |||
13 | accessory cables have such capability. For example, | 13 | accessory cables have such capability. For example, |
14 | the 30-pin port of Nuri board (/arch/arm/mach-exynos) | 14 | the 30-pin port of Nuri board (/arch/arm/mach-exynos) |
15 | may have both HDMI and Charger attached, or analog audio, | 15 | may have both HDMI and Charger attached, or analog audio, |
16 | video, and USB cables attached simulteneously. | 16 | video, and USB cables attached simultaneously. |
17 | 17 | ||
18 | If there are cables mutually exclusive with each other, | 18 | If there are cables mutually exclusive with each other, |
19 | such binary relations may be expressed with extcon_dev's | 19 | such binary relations may be expressed with extcon_dev's |
@@ -35,7 +35,7 @@ Description: | |||
35 | The /sys/class/extcon/.../state shows and stores the cable | 35 | The /sys/class/extcon/.../state shows and stores the cable |
36 | attach/detach information of the corresponding extcon object. | 36 | attach/detach information of the corresponding extcon object. |
37 | If the extcon object has an optional callback "show_state" | 37 | If the extcon object has an optional callback "show_state" |
38 | defined, the showing function is overriden with the optional | 38 | defined, the showing function is overridden with the optional |
39 | callback. | 39 | callback. |
40 | 40 | ||
41 | If the default callback for showing function is used, the | 41 | If the default callback for showing function is used, the |
@@ -46,19 +46,19 @@ Description: | |||
46 | TA=1 | 46 | TA=1 |
47 | EAR_JACK=0 | 47 | EAR_JACK=0 |
48 | # | 48 | # |
49 | In this example, the extcon device have USB_OTG and TA | 49 | In this example, the extcon device has USB_OTG and TA |
50 | cables attached and HDMI and EAR_JACK cables detached. | 50 | cables attached and HDMI and EAR_JACK cables detached. |
51 | 51 | ||
52 | In order to update the state of an extcon device, enter a hex | 52 | In order to update the state of an extcon device, enter a hex |
53 | state number starting with 0x. | 53 | state number starting with 0x: |
54 | echo 0xHEX > state | 54 | # echo 0xHEX > state |
55 | 55 | ||
56 | This updates the whole state of the extcon dev. | 56 | This updates the whole state of the extcon device. |
57 | Inputs of all the methods are required to meet the | 57 | Inputs of all the methods are required to meet the |
58 | mutually_exclusive contidions if they exist. | 58 | mutually_exclusive conditions if they exist. |
59 | 59 | ||
60 | It is recommended to use this "global" state interface if | 60 | It is recommended to use this "global" state interface if |
61 | you need to enter the value atomically. The later state | 61 | you need to set the value atomically. The later state |
62 | interface associated with each cable cannot update | 62 | interface associated with each cable cannot update |
63 | multiple cable states of an extcon device simultaneously. | 63 | multiple cable states of an extcon device simultaneously. |
64 | 64 | ||
@@ -73,7 +73,7 @@ What: /sys/class/extcon/.../cable.x/state | |||
73 | Date: February 2012 | 73 | Date: February 2012 |
74 | Contact: MyungJoo Ham <myungjoo.ham@samsung.com> | 74 | Contact: MyungJoo Ham <myungjoo.ham@samsung.com> |
75 | Description: | 75 | Description: |
76 | The /sys/class/extcon/.../cable.x/name shows and stores the | 76 | The /sys/class/extcon/.../cable.x/state shows and stores the |
77 | state of cable "x" (integer between 0 and 31) of an extcon | 77 | state of cable "x" (integer between 0 and 31) of an extcon |
78 | device. The state value is either 0 (detached) or 1 | 78 | device. The state value is either 0 (detached) or 1 |
79 | (attached). | 79 | (attached). |
@@ -83,8 +83,8 @@ Date: December 2011 | |||
83 | Contact: MyungJoo Ham <myungjoo.ham@samsung.com> | 83 | Contact: MyungJoo Ham <myungjoo.ham@samsung.com> |
84 | Description: | 84 | Description: |
85 | Shows the relations of mutually exclusiveness. For example, | 85 | Shows the relations of mutually exclusiveness. For example, |
86 | if the mutually_exclusive array of extcon_dev is | 86 | if the mutually_exclusive array of extcon device is |
87 | {0x3, 0x5, 0xC, 0x0}, the, the output is: | 87 | {0x3, 0x5, 0xC, 0x0}, then the output is: |
88 | # ls mutually_exclusive/ | 88 | # ls mutually_exclusive/ |
89 | 0x3 | 89 | 0x3 |
90 | 0x5 | 90 | 0x5 |