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