1 What: /sys/class/udc/<udc>/a_alt_hnp_support
4 Contact: Felipe Balbi <balbi@kernel.org>
6 Indicates if an OTG A-Host supports HNP at an alternate port.
9 What: /sys/class/udc/<udc>/a_hnp_support
12 Contact: Felipe Balbi <balbi@kernel.org>
14 Indicates if an OTG A-Host supports HNP at this port.
17 What: /sys/class/udc/<udc>/b_hnp_enable
20 Contact: Felipe Balbi <balbi@kernel.org>
22 Indicates if an OTG A-Host enabled HNP support.
25 What: /sys/class/udc/<udc>/current_speed
28 Contact: Felipe Balbi <balbi@kernel.org>
30 Indicates the current negotiated speed at this port.
33 What: /sys/class/udc/<udc>/is_a_peripheral
36 Contact: Felipe Balbi <balbi@kernel.org>
38 Indicates that this port is the default Host on an OTG session
39 but HNP was used to switch roles.
42 What: /sys/class/udc/<udc>/is_otg
45 Contact: Felipe Balbi <balbi@kernel.org>
47 Indicates that this port support OTG.
50 What: /sys/class/udc/<udc>/maximum_speed
53 Contact: Felipe Balbi <balbi@kernel.org>
55 Indicates the maximum USB speed supported by this port.
58 What: /sys/class/udc/<udc>/maximum_speed
61 Contact: Felipe Balbi <balbi@kernel.org>
63 Indicates the maximum USB speed supported by this port.
66 What: /sys/class/udc/<udc>/soft_connect
69 Contact: Felipe Balbi <balbi@kernel.org>
71 Allows users to disconnect data pullup resistors thus causing a
72 logical disconnection from the USB Host.
75 What: /sys/class/udc/<udc>/srp
78 Contact: Felipe Balbi <balbi@kernel.org>
80 Allows users to manually start Session Request Protocol.
83 What: /sys/class/udc/<udc>/state
86 Contact: Felipe Balbi <balbi@kernel.org>
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.