xref: /linux/Documentation/ABI/stable/sysfs-class-udc (revision ca55b2fef3a9373fcfc30f82fd26bc7fccbda732)
1What:		/sys/class/udc/<udc>/a_alt_hnp_support
2Date:		June 2011
3KernelVersion:	3.1
4Contact:	Felipe Balbi <balbi@kernel.org>
5Description:
6		Indicates if an OTG A-Host supports HNP at an alternate port.
7Users:
8
9What:		/sys/class/udc/<udc>/a_hnp_support
10Date:		June 2011
11KernelVersion:	3.1
12Contact:	Felipe Balbi <balbi@kernel.org>
13Description:
14		Indicates if an OTG A-Host supports HNP at this port.
15Users:
16
17What:		/sys/class/udc/<udc>/b_hnp_enable
18Date:		June 2011
19KernelVersion:	3.1
20Contact:	Felipe Balbi <balbi@kernel.org>
21Description:
22		Indicates if an OTG A-Host enabled HNP support.
23Users:
24
25What:		/sys/class/udc/<udc>/current_speed
26Date:		June 2011
27KernelVersion:	3.1
28Contact:	Felipe Balbi <balbi@kernel.org>
29Description:
30		Indicates the current negotiated speed at this port.
31Users:
32
33What:		/sys/class/udc/<udc>/is_a_peripheral
34Date:		June 2011
35KernelVersion:	3.1
36Contact:	Felipe Balbi <balbi@kernel.org>
37Description:
38		Indicates that this port is the default Host on an OTG session
39		but HNP was used to switch roles.
40Users:
41
42What:		/sys/class/udc/<udc>/is_otg
43Date:		June 2011
44KernelVersion:	3.1
45Contact:	Felipe Balbi <balbi@kernel.org>
46Description:
47		Indicates that this port support OTG.
48Users:
49
50What:		/sys/class/udc/<udc>/maximum_speed
51Date:		June 2011
52KernelVersion:	3.1
53Contact:	Felipe Balbi <balbi@kernel.org>
54Description:
55		Indicates the maximum USB speed supported by this port.
56Users:
57
58What:		/sys/class/udc/<udc>/maximum_speed
59Date:		June 2011
60KernelVersion:	3.1
61Contact:	Felipe Balbi <balbi@kernel.org>
62Description:
63		Indicates the maximum USB speed supported by this port.
64Users:
65
66What:		/sys/class/udc/<udc>/soft_connect
67Date:		June 2011
68KernelVersion:	3.1
69Contact:	Felipe Balbi <balbi@kernel.org>
70Description:
71		Allows users to disconnect data pullup resistors thus causing a
72		logical disconnection from the USB Host.
73Users:
74
75What:		/sys/class/udc/<udc>/srp
76Date:		June 2011
77KernelVersion:	3.1
78Contact:	Felipe Balbi <balbi@kernel.org>
79Description:
80		Allows users to manually start Session Request Protocol.
81Users:
82
83What:		/sys/class/udc/<udc>/state
84Date:		June 2011
85KernelVersion:	3.1
86Contact:	Felipe Balbi <balbi@kernel.org>
87Description:
88		Indicates current state of the USB Device Controller. Valid
89		states are: 'not-attached', 'attached', 'powered',
90		'reconnecting', 'unauthenticated', 'default', 'addressed',
91		'configured', and 'suspended'; however not all USB Device
92		Controllers support reporting all states.
93Users:
94