18c2ecf20Sopenharmony_ciWhat: /sys/class/usb_role/ 28c2ecf20Sopenharmony_ciDate: Jan 2018 38c2ecf20Sopenharmony_ciContact: Heikki Krogerus <heikki.krogerus@linux.intel.com> 48c2ecf20Sopenharmony_ciDescription: 58c2ecf20Sopenharmony_ci Place in sysfs for USB Role Switches. USB Role Switch is a 68c2ecf20Sopenharmony_ci device that can select the data role (host or device) for USB 78c2ecf20Sopenharmony_ci port. 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ciWhat: /sys/class/usb_role/<switch>/role 108c2ecf20Sopenharmony_ciDate: Jan 2018 118c2ecf20Sopenharmony_ciContact: Heikki Krogerus <heikki.krogerus@linux.intel.com> 128c2ecf20Sopenharmony_ciDescription: 138c2ecf20Sopenharmony_ci The current role of the switch. This attribute can be used for 148c2ecf20Sopenharmony_ci requesting role swapping with non-USB Type-C ports. With USB 158c2ecf20Sopenharmony_ci Type-C ports, the ABI defined for USB Type-C connector class 168c2ecf20Sopenharmony_ci must be used. 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci Valid values: 198c2ecf20Sopenharmony_ci - none 208c2ecf20Sopenharmony_ci - host 218c2ecf20Sopenharmony_ci - device 22