xref: /linux/Documentation/ABI/testing/sysfs-class-usb_role (revision 6f47c7ae8c7afaf9ad291d39f0d3974f191a7946)
1What:		/sys/class/usb_role/
2Date:		Jan 2018
3Contact:	Heikki Krogerus <heikki.krogerus@linux.intel.com>
4Description:
5		Place in sysfs for USB Role Switches. USB Role Switch is a
6		device that can select the data role (host or device) for USB
7		port.
8
9What:		/sys/class/usb_role/<switch>/role
10Date:		Jan 2018
11Contact:	Heikki Krogerus <heikki.krogerus@linux.intel.com>
12Description:
13		The current role of the switch. This attribute can be used for
14		requesting role swapping with non-USB Type-C ports. With USB
15		Type-C ports, the ABI defined for USB Type-C connector class
16		must be used.
17
18		Valid values:
19		- none
20		- host
21		- device
22
23What:		/sys/class/usb_role/<switch>/connector
24Date:		Feb 2024
25Contact:	Heikki Krogerus <heikki.krogerus@linux.intel.com>
26Description:
27		Optional symlink to the USB Type-C connector.
28