summaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/sysfs-class-extcon
blob: 59a4b1c708d51f81e823445ba3450a4d34177f33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
What:		/sys/class/extcon/.../
Date:		December 2011
Contact:	MyungJoo Ham <myungjoo.ham@samsung.com>
Description:
		Provide a place in sysfs for the extcon objects.
		This allows accessing extcon specific variables.
		The name of extcon object denoted as ... is the name given
		with extcon_dev_register.

What:		/sys/class/extcon/.../name
Date:		December 2011
Contact:	MyungJoo Ham <myungjoo.ham@samsung.com>
Description:
		The /sys/class/extcon/.../name shows the name of the extcon
		object. If the extcon object has an optional callback
		"show_name" defined, the callback will provide the name with
		this sysfs node.

What:		/sys/class/extcon/.../state
Date:		December 2011
Contact:	MyungJoo Ham <myungjoo.ham@samsung.com>
Description:
		The /sys/class/extcon/.../state shows the cable attach/detach
		information of the corresponding extcon object. If the extcon
		objecct has an optional callback "show_state" defined, the
		callback will provide the name with this sysfs node.