Files
CoolPi-Armbian-Rockchip-RK3…/Documentation/ABI/testing/sysfs-platform-chipidea-usb2
2025-02-04 12:41:12 -06:00

10 lines
342 B
Plaintext

What: /sys/bus/platform/devices/ci_hdrc.0/role
Date: Mar 2017
Contact: Peter Chen <peter.chen@nxp.com>
Description:
When read, it returns string "gadget" or "host", indicating
the current controller role.
It will do role switch when "gadget" or "host" is written to it.
Only controller at dual-role configuration supports writing.