^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /sys/bus/platform/devices/ci_hdrc.0/inputs/a_bus_req
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Date: Feb 2014
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Contact: Li Jun <jun.li@nxp.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Can be set and read.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) Set a_bus_req(A-device bus request) input to be 1 if
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) the application running on the A-device wants to use the bus,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) and to be 0 when the application no longer wants to use
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) the bus(or wants to work as peripheral). a_bus_req can also
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) be set to 1 by kernel in response to remote wakeup signaling
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) from the B-device, the A-device should decide to resume the bus.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Valid values are "1" and "0".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) Reading: returns 1 if the application running on the A-device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) is using the bus as host role, otherwise 0.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) What: /sys/bus/platform/devices/ci_hdrc.0/inputs/a_bus_drop
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) Date: Feb 2014
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) Contact: Li Jun <jun.li@nxp.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) Can be set and read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) The a_bus_drop(A-device bus drop) input is 1 when the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) application running on the A-device wants to power down
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) the bus, and is 0 otherwise, When a_bus_drop is 1, then
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) the a_bus_req shall be 0.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) Valid values are "1" and "0".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) Reading: returns 1 if the bus is off(vbus is turned off) by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) A-device, otherwise 0.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) What: /sys/bus/platform/devices/ci_hdrc.0/inputs/b_bus_req
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) Date: Feb 2014
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) Contact: Li Jun <jun.li@nxp.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) Can be set and read.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) The b_bus_req(B-device bus request) input is 1 during the time
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) that the application running on the B-device wants to use the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) bus as host, and is 0 when the application no longer wants to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) work as host and decides to switch back to be peripheral.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) Valid values are "1" and "0".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) Reading: returns if the application running on the B device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) is using the bus as host role, otherwise 0.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) What: /sys/bus/platform/devices/ci_hdrc.0/inputs/a_clr_err
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) Date: Feb 2014
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) Contact: Li Jun <jun.li@nxp.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) Only can be set.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) The a_clr_err(A-device Vbus error clear) input is used to clear
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) vbus error, then A-device will power down the bus.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) Valid value is "1"