diff options
Diffstat (limited to 'Documentation/ABI/testing/sysfs-class-extcon')
-rw-r--r-- | Documentation/ABI/testing/sysfs-class-extcon | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-class-extcon b/Documentation/ABI/testing/sysfs-class-extcon new file mode 100644 index 000000000000..59a4b1c708d5 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-class-extcon | |||
@@ -0,0 +1,26 @@ | |||
1 | What: /sys/class/extcon/.../ | ||
2 | Date: December 2011 | ||
3 | Contact: MyungJoo Ham <myungjoo.ham@samsung.com> | ||
4 | Description: | ||
5 | Provide a place in sysfs for the extcon objects. | ||
6 | This allows accessing extcon specific variables. | ||
7 | The name of extcon object denoted as ... is the name given | ||
8 | with extcon_dev_register. | ||
9 | |||
10 | What: /sys/class/extcon/.../name | ||
11 | Date: December 2011 | ||
12 | Contact: MyungJoo Ham <myungjoo.ham@samsung.com> | ||
13 | Description: | ||
14 | The /sys/class/extcon/.../name shows the name of the extcon | ||
15 | object. If the extcon object has an optional callback | ||
16 | "show_name" defined, the callback will provide the name with | ||
17 | this sysfs node. | ||
18 | |||
19 | What: /sys/class/extcon/.../state | ||
20 | Date: December 2011 | ||
21 | Contact: MyungJoo Ham <myungjoo.ham@samsung.com> | ||
22 | Description: | ||
23 | The /sys/class/extcon/.../state shows the cable attach/detach | ||
24 | information of the corresponding extcon object. If the extcon | ||
25 | objecct has an optional callback "show_state" defined, the | ||
26 | callback will provide the name with this sysfs node. | ||