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