sysfs-platform-chipidea-usb2 337 B

123456789
  1. What: /sys/bus/platform/devices/ci_hdrc.0/role
  2. Date: Mar 2017
  3. Contact: Peter Chen <peter.chen@nxp.com>
  4. Description:
  5. It returns string "gadget" or "host" when read it, it indicates
  6. current controller role.
  7. It will do role switch when write "gadget" or "host" to it.
  8. Only controller at dual-role configuration supports writing.