162306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/ci_hdrc.0/inputs/a_bus_req 262306a36Sopenharmony_ciDate: Feb 2014 362306a36Sopenharmony_ciContact: Li Jun <jun.li@nxp.com> 462306a36Sopenharmony_ciDescription: 562306a36Sopenharmony_ci Can be set and read. 662306a36Sopenharmony_ci Set a_bus_req(A-device bus request) input to be 1 if 762306a36Sopenharmony_ci the application running on the A-device wants to use the bus, 862306a36Sopenharmony_ci and to be 0 when the application no longer wants to use 962306a36Sopenharmony_ci the bus(or wants to work as peripheral). a_bus_req can also 1062306a36Sopenharmony_ci be set to 1 by kernel in response to remote wakeup signaling 1162306a36Sopenharmony_ci from the B-device, the A-device should decide to resume the bus. 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ci Valid values are "1" and "0". 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ci Reading: returns 1 if the application running on the A-device 1662306a36Sopenharmony_ci is using the bus as host role, otherwise 0. 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/ci_hdrc.0/inputs/a_bus_drop 1962306a36Sopenharmony_ciDate: Feb 2014 2062306a36Sopenharmony_ciContact: Li Jun <jun.li@nxp.com> 2162306a36Sopenharmony_ciDescription: 2262306a36Sopenharmony_ci Can be set and read 2362306a36Sopenharmony_ci The a_bus_drop(A-device bus drop) input is 1 when the 2462306a36Sopenharmony_ci application running on the A-device wants to power down 2562306a36Sopenharmony_ci the bus, and is 0 otherwise, When a_bus_drop is 1, then 2662306a36Sopenharmony_ci the a_bus_req shall be 0. 2762306a36Sopenharmony_ci 2862306a36Sopenharmony_ci Valid values are "1" and "0". 2962306a36Sopenharmony_ci 3062306a36Sopenharmony_ci Reading: returns 1 if the bus is off(vbus is turned off) by 3162306a36Sopenharmony_ci A-device, otherwise 0. 3262306a36Sopenharmony_ci 3362306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/ci_hdrc.0/inputs/b_bus_req 3462306a36Sopenharmony_ciDate: Feb 2014 3562306a36Sopenharmony_ciContact: Li Jun <jun.li@nxp.com> 3662306a36Sopenharmony_ciDescription: 3762306a36Sopenharmony_ci Can be set and read. 3862306a36Sopenharmony_ci The b_bus_req(B-device bus request) input is 1 during the time 3962306a36Sopenharmony_ci that the application running on the B-device wants to use the 4062306a36Sopenharmony_ci bus as host, and is 0 when the application no longer wants to 4162306a36Sopenharmony_ci work as host and decides to switch back to be peripheral. 4262306a36Sopenharmony_ci 4362306a36Sopenharmony_ci Valid values are "1" and "0". 4462306a36Sopenharmony_ci 4562306a36Sopenharmony_ci Reading: returns if the application running on the B device 4662306a36Sopenharmony_ci is using the bus as host role, otherwise 0. 4762306a36Sopenharmony_ci 4862306a36Sopenharmony_ciWhat: /sys/bus/platform/devices/ci_hdrc.0/inputs/a_clr_err 4962306a36Sopenharmony_ciDate: Feb 2014 5062306a36Sopenharmony_ciContact: Li Jun <jun.li@nxp.com> 5162306a36Sopenharmony_ciDescription: 5262306a36Sopenharmony_ci Only can be set. 5362306a36Sopenharmony_ci The a_clr_err(A-device Vbus error clear) input is used to clear 5462306a36Sopenharmony_ci vbus error, then A-device will power down the bus. 5562306a36Sopenharmony_ci 5662306a36Sopenharmony_ci Valid value is "1" 57