hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
1
2
3
4
5
6
7
8
9
What:        /sys/bus/platform/devices/ci_hdrc.0/role
Date:        Mar 2017
Contact:    Peter Chen <peter.chen@nxp.com>
Description:
       It returns string "gadget" or "host" 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.