xref: /linux/Documentation/ABI/testing/sysfs-class-extcon (revision de55d8716ac50a356cea736c29bb7db5ac3d0190)
1*de55d871SMyungJoo HamWhat:		/sys/class/extcon/.../
2*de55d871SMyungJoo HamDate:		December 2011
3*de55d871SMyungJoo HamContact:	MyungJoo Ham <myungjoo.ham@samsung.com>
4*de55d871SMyungJoo HamDescription:
5*de55d871SMyungJoo Ham		Provide a place in sysfs for the extcon objects.
6*de55d871SMyungJoo Ham		This allows accessing extcon specific variables.
7*de55d871SMyungJoo Ham		The name of extcon object denoted as ... is the name given
8*de55d871SMyungJoo Ham		with extcon_dev_register.
9*de55d871SMyungJoo Ham
10*de55d871SMyungJoo HamWhat:		/sys/class/extcon/.../name
11*de55d871SMyungJoo HamDate:		December 2011
12*de55d871SMyungJoo HamContact:	MyungJoo Ham <myungjoo.ham@samsung.com>
13*de55d871SMyungJoo HamDescription:
14*de55d871SMyungJoo Ham		The /sys/class/extcon/.../name shows the name of the extcon
15*de55d871SMyungJoo Ham		object. If the extcon object has an optional callback
16*de55d871SMyungJoo Ham		"show_name" defined, the callback will provide the name with
17*de55d871SMyungJoo Ham		this sysfs node.
18*de55d871SMyungJoo Ham
19*de55d871SMyungJoo HamWhat:		/sys/class/extcon/.../state
20*de55d871SMyungJoo HamDate:		December 2011
21*de55d871SMyungJoo HamContact:	MyungJoo Ham <myungjoo.ham@samsung.com>
22*de55d871SMyungJoo HamDescription:
23*de55d871SMyungJoo Ham		The /sys/class/extcon/.../state shows the cable attach/detach
24*de55d871SMyungJoo Ham		information of the corresponding extcon object. If the extcon
25*de55d871SMyungJoo Ham		objecct has an optional callback "show_state" defined, the
26*de55d871SMyungJoo Ham		callback will provide the name with this sysfs node.
27