^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /sys/class/usb_role/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Date: Jan 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Contact: Heikki Krogerus <heikki.krogerus@linux.intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Place in sysfs for USB Role Switches. USB Role Switch is a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) device that can select the data role (host or device) for USB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) port.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) What: /sys/class/usb_role/<switch>/role
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Date: Jan 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) Contact: Heikki Krogerus <heikki.krogerus@linux.intel.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) The current role of the switch. This attribute can be used for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) requesting role swapping with non-USB Type-C ports. With USB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) Type-C ports, the ABI defined for USB Type-C connector class
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) must be used.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) Valid values:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) - none
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) - host
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) - device