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>/soft_connect
61 Contact: Felipe Balbi <balbi@kernel.org>
63 Allows users to disconnect data pullup resistors thus causing a
64 logical disconnection from the USB Host.
67 What: /sys/class/udc/<udc>/srp
70 Contact: Felipe Balbi <balbi@kernel.org>
72 Allows users to manually start Session Request Protocol.
75 What: /sys/class/udc/<udc>/state
78 Contact: Felipe Balbi <balbi@kernel.org>
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.
87 What: /sys/class/udc/<udc>/function
90 Contact: Felipe Balbi <balbi@kernel.org>
92 Prints out name of currently running USB Gadget Driver.