0001 What: /sys/class/udc/<udc>/a_alt_hnp_support
0002 Date: June 2011
0003 KernelVersion: 3.1
0004 Contact: Felipe Balbi <balbi@kernel.org>
0005 Description:
0006 Indicates if an OTG A-Host supports HNP at an alternate port.
0007 Users:
0008
0009 What: /sys/class/udc/<udc>/a_hnp_support
0010 Date: June 2011
0011 KernelVersion: 3.1
0012 Contact: Felipe Balbi <balbi@kernel.org>
0013 Description:
0014 Indicates if an OTG A-Host supports HNP at this port.
0015 Users:
0016
0017 What: /sys/class/udc/<udc>/b_hnp_enable
0018 Date: June 2011
0019 KernelVersion: 3.1
0020 Contact: Felipe Balbi <balbi@kernel.org>
0021 Description:
0022 Indicates if an OTG A-Host enabled HNP support.
0023 Users:
0024
0025 What: /sys/class/udc/<udc>/current_speed
0026 Date: June 2011
0027 KernelVersion: 3.1
0028 Contact: Felipe Balbi <balbi@kernel.org>
0029 Description:
0030 Indicates the current negotiated speed at this port.
0031 Users:
0032
0033 What: /sys/class/udc/<udc>/is_a_peripheral
0034 Date: June 2011
0035 KernelVersion: 3.1
0036 Contact: Felipe Balbi <balbi@kernel.org>
0037 Description:
0038 Indicates that this port is the default Host on an OTG session
0039 but HNP was used to switch roles.
0040 Users:
0041
0042 What: /sys/class/udc/<udc>/is_otg
0043 Date: June 2011
0044 KernelVersion: 3.1
0045 Contact: Felipe Balbi <balbi@kernel.org>
0046 Description:
0047 Indicates that this port support OTG.
0048 Users:
0049
0050 What: /sys/class/udc/<udc>/maximum_speed
0051 Date: June 2011
0052 KernelVersion: 3.1
0053 Contact: Felipe Balbi <balbi@kernel.org>
0054 Description:
0055 Indicates the maximum USB speed supported by this port.
0056 Users:
0057
0058 What: /sys/class/udc/<udc>/soft_connect
0059 Date: June 2011
0060 KernelVersion: 3.1
0061 Contact: Felipe Balbi <balbi@kernel.org>
0062 Description:
0063 Allows users to disconnect data pullup resistors thus causing a
0064 logical disconnection from the USB Host.
0065 Users:
0066
0067 What: /sys/class/udc/<udc>/srp
0068 Date: June 2011
0069 KernelVersion: 3.1
0070 Contact: Felipe Balbi <balbi@kernel.org>
0071 Description:
0072 Allows users to manually start Session Request Protocol.
0073 Users:
0074
0075 What: /sys/class/udc/<udc>/state
0076 Date: June 2011
0077 KernelVersion: 3.1
0078 Contact: Felipe Balbi <balbi@kernel.org>
0079 Description:
0080 Indicates current state of the USB Device Controller. Valid
0081 states are: 'not-attached', 'attached', 'powered',
0082 'reconnecting', 'unauthenticated', 'default', 'addressed',
0083 'configured', and 'suspended'; however not all USB Device
0084 Controllers support reporting all states.
0085 Users:
0086
0087 What: /sys/class/udc/<udc>/function
0088 Date: June 2017
0089 KernelVersion: 4.13
0090 Contact: Felipe Balbi <balbi@kernel.org>
0091 Description:
0092 Prints out name of currently running USB Gadget Driver.
0093 Users: