Back to home page

OSCL-LXR

 
 

    


0001 What:           /sys/bus/platform/devices/ci_hdrc.0/role
0002 Date:           Mar 2017
0003 Contact:        Peter Chen <peter.chen@nxp.com>
0004 Description:
0005                 It returns string "gadget" or "host" when read it, it indicates
0006                 current controller role.
0007 
0008                 It will do role switch when write "gadget" or "host" to it.
0009                 Only controller at dual-role configuration supports writing.