blob: c969518dcc307691fa349ddfb9c86e3e8e5f6a7a (
plain)
1
2
3
4
5
6
7
8
9
|
What: /sys/bus/platform/devices/5b110000.usb3/role
Date: Jan 2019
Contact: Peter Chen <peter.chen@nxp.com>
Description:
It returns string "gadget", "host" and "none" when read it,
it indicates current controller role.
It will do role switch when write "gadget" or "host" to it.
Only controller at dual-role configuration supports writing.
|