sysfs-platform-chipidea-usb-otg 1.9 KB

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