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