18c2ecf20Sopenharmony_ciWhat: /sys/bus/platform/devices/ci_hdrc.0/inputs/a_bus_req 28c2ecf20Sopenharmony_ciDate: Feb 2014 38c2ecf20Sopenharmony_ciContact: Li Jun <jun.li@nxp.com> 48c2ecf20Sopenharmony_ciDescription: 58c2ecf20Sopenharmony_ci Can be set and read. 68c2ecf20Sopenharmony_ci Set a_bus_req(A-device bus request) input to be 1 if 78c2ecf20Sopenharmony_ci the application running on the A-device wants to use the bus, 88c2ecf20Sopenharmony_ci and to be 0 when the application no longer wants to use 98c2ecf20Sopenharmony_ci the bus(or wants to work as peripheral). a_bus_req can also 108c2ecf20Sopenharmony_ci be set to 1 by kernel in response to remote wakeup signaling 118c2ecf20Sopenharmony_ci from the B-device, the A-device should decide to resume the bus. 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci Valid values are "1" and "0". 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci Reading: returns 1 if the application running on the A-device 168c2ecf20Sopenharmony_ci is using the bus as host role, otherwise 0. 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ciWhat: /sys/bus/platform/devices/ci_hdrc.0/inputs/a_bus_drop 198c2ecf20Sopenharmony_ciDate: Feb 2014 208c2ecf20Sopenharmony_ciContact: Li Jun <jun.li@nxp.com> 218c2ecf20Sopenharmony_ciDescription: 228c2ecf20Sopenharmony_ci Can be set and read 238c2ecf20Sopenharmony_ci The a_bus_drop(A-device bus drop) input is 1 when the 248c2ecf20Sopenharmony_ci application running on the A-device wants to power down 258c2ecf20Sopenharmony_ci the bus, and is 0 otherwise, When a_bus_drop is 1, then 268c2ecf20Sopenharmony_ci the a_bus_req shall be 0. 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci Valid values are "1" and "0". 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ci Reading: returns 1 if the bus is off(vbus is turned off) by 318c2ecf20Sopenharmony_ci A-device, otherwise 0. 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ciWhat: /sys/bus/platform/devices/ci_hdrc.0/inputs/b_bus_req 348c2ecf20Sopenharmony_ciDate: Feb 2014 358c2ecf20Sopenharmony_ciContact: Li Jun <jun.li@nxp.com> 368c2ecf20Sopenharmony_ciDescription: 378c2ecf20Sopenharmony_ci Can be set and read. 388c2ecf20Sopenharmony_ci The b_bus_req(B-device bus request) input is 1 during the time 398c2ecf20Sopenharmony_ci that the application running on the B-device wants to use the 408c2ecf20Sopenharmony_ci bus as host, and is 0 when the application no longer wants to 418c2ecf20Sopenharmony_ci work as host and decides to switch back to be peripheral. 428c2ecf20Sopenharmony_ci 438c2ecf20Sopenharmony_ci Valid values are "1" and "0". 448c2ecf20Sopenharmony_ci 458c2ecf20Sopenharmony_ci Reading: returns if the application running on the B device 468c2ecf20Sopenharmony_ci is using the bus as host role, otherwise 0. 478c2ecf20Sopenharmony_ci 488c2ecf20Sopenharmony_ciWhat: /sys/bus/platform/devices/ci_hdrc.0/inputs/a_clr_err 498c2ecf20Sopenharmony_ciDate: Feb 2014 508c2ecf20Sopenharmony_ciContact: Li Jun <jun.li@nxp.com> 518c2ecf20Sopenharmony_ciDescription: 528c2ecf20Sopenharmony_ci Only can be set. 538c2ecf20Sopenharmony_ci The a_clr_err(A-device Vbus error clear) input is used to clear 548c2ecf20Sopenharmony_ci vbus error, then A-device will power down the bus. 558c2ecf20Sopenharmony_ci 568c2ecf20Sopenharmony_ci Valid value is "1" 57