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