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