xref: /linux/Documentation/ABI/testing/sysfs-platform-chipidea-usb2 (revision 01a9664e0d9f8f8d5c0c7c33be2aae1284c2fc05)
1What:		/sys/bus/platform/devices/ci_hdrc.0/role
2Date:		Mar 2017
3Contact:	Peter Chen <peter.chen@nxp.com>
4Description:
5		When read, it returns string "gadget" or "host", indicating
6		the current controller role.
7
8		It will do role switch when "gadget" or "host" is written to it.
9		Only controller at dual-role configuration supports writing.
10