sysfs-platform-chipidea-usb2 342 B

123456789
  1. What: /sys/bus/platform/devices/ci_hdrc.0/role
  2. Date: Mar 2017
  3. Contact: Peter Chen <[email protected]>
  4. Description:
  5. When read, it returns string "gadget" or "host", indicating
  6. the current controller role.
  7. It will do role switch when "gadget" or "host" is written to it.
  8. Only controller at dual-role configuration supports writing.