^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /sys/bus/platform/devices/ci_hdrc.0/role
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Date: Mar 2017
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Contact: Peter Chen <peter.chen@nxp.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) It returns string "gadget" or "host" when read it, it indicates
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) current controller role.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) It will do role switch when write "gadget" or "host" to it.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) Only controller at dual-role configuration supports writing.