aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing/sysfs-class-extcon
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/ABI/testing/sysfs-class-extcon')
-rw-r--r--Documentation/ABI/testing/sysfs-class-extcon26
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 @@
1What: /sys/class/extcon/.../
2Date: December 2011
3Contact: MyungJoo Ham <myungjoo.ham@samsung.com>
4Description:
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
10What: /sys/class/extcon/.../name
11Date: December 2011
12Contact: MyungJoo Ham <myungjoo.ham@samsung.com>
13Description:
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
19What: /sys/class/extcon/.../state
20Date: December 2011
21Contact: MyungJoo Ham <myungjoo.ham@samsung.com>
22Description:
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.