blob: d1e2f3ec1fc956773373feadd34e22462d59a470 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001What: /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>/soft_connect
59Date: June 2011
60KernelVersion: 3.1
61Contact: Felipe Balbi <balbi@kernel.org>
62Description:
63 Allows users to disconnect data pullup resistors thus causing a
64 logical disconnection from the USB Host.
65Users:
66
67What: /sys/class/udc/<udc>/srp
68Date: June 2011
69KernelVersion: 3.1
70Contact: Felipe Balbi <balbi@kernel.org>
71Description:
72 Allows users to manually start Session Request Protocol.
73Users:
74
75What: /sys/class/udc/<udc>/state
76Date: June 2011
77KernelVersion: 3.1
78Contact: Felipe Balbi <balbi@kernel.org>
79Description:
80 Indicates current state of the USB Device Controller. Valid
81 states are: 'not-attached', 'attached', 'powered',
82 'reconnecting', 'unauthenticated', 'default', 'addressed',
83 'configured', and 'suspended'; however not all USB Device
84 Controllers support reporting all states.
85Users:
86
87What: /sys/class/udc/<udc>/function
88Date: June 2017
89KernelVersion: 4.13
90Contact: Felipe Balbi <balbi@kernel.org>
91Description:
92 Prints out name of currently running USB Gadget Driver.
93Users: