0001 What: /sys/class/usb_role/
0002 Date: Jan 2018
0003 Contact: Heikki Krogerus <heikki.krogerus@linux.intel.com>
0004 Description:
0005 Place in sysfs for USB Role Switches. USB Role Switch is a
0006 device that can select the data role (host or device) for USB
0007 port.
0008
0009 What: /sys/class/usb_role/<switch>/role
0010 Date: Jan 2018
0011 Contact: Heikki Krogerus <heikki.krogerus@linux.intel.com>
0012 Description:
0013 The current role of the switch. This attribute can be used for
0014 requesting role swapping with non-USB Type-C ports. With USB
0015 Type-C ports, the ABI defined for USB Type-C connector class
0016 must be used.
0017
0018 Valid values:
0019 - none
0020 - host
0021 - device