Back to home page

OSCL-LXR

 
 

    


0001 What:           /sys/bus/platform/devices/ci_hdrc.0/inputs/a_bus_req
0002 Date:           Feb 2014
0003 Contact:        Li Jun <jun.li@nxp.com>
0004 Description:
0005                 Can be set and read.
0006                 Set a_bus_req(A-device bus request) input to be 1 if
0007                 the application running on the A-device wants to use the bus,
0008                 and to be 0 when the application no longer wants to use
0009                 the bus(or wants to work as peripheral). a_bus_req can also
0010                 be set to 1 by kernel in response to remote wakeup signaling
0011                 from the B-device, the A-device should decide to resume the bus.
0012 
0013                 Valid values are "1" and "0".
0014 
0015                 Reading: returns 1 if the application running on the A-device
0016                 is using the bus as host role, otherwise 0.
0017 
0018 What:           /sys/bus/platform/devices/ci_hdrc.0/inputs/a_bus_drop
0019 Date:           Feb 2014
0020 Contact:        Li Jun <jun.li@nxp.com>
0021 Description:
0022                 Can be set and read
0023                 The a_bus_drop(A-device bus drop) input is 1 when the
0024                 application running on the A-device wants to power down
0025                 the bus, and is 0 otherwise, When a_bus_drop is 1, then
0026                 the a_bus_req shall be 0.
0027 
0028                 Valid values are "1" and "0".
0029 
0030                 Reading: returns 1 if the bus is off(vbus is turned off) by
0031                          A-device, otherwise 0.
0032 
0033 What:           /sys/bus/platform/devices/ci_hdrc.0/inputs/b_bus_req
0034 Date:           Feb 2014
0035 Contact:        Li Jun <jun.li@nxp.com>
0036 Description:
0037                 Can be set and read.
0038                 The b_bus_req(B-device bus request) input is 1 during the time
0039                 that the application running on the B-device wants to use the
0040                 bus as host, and is 0 when the application no longer wants to
0041                 work as host and decides to switch back to be peripheral.
0042 
0043                 Valid values are "1" and "0".
0044 
0045                 Reading: returns if the application running on the B device
0046                 is using the bus as host role, otherwise 0.
0047 
0048 What:           /sys/bus/platform/devices/ci_hdrc.0/inputs/a_clr_err
0049 Date:           Feb 2014
0050 Contact:        Li Jun <jun.li@nxp.com>
0051 Description:
0052                 Only can be set.
0053                 The a_clr_err(A-device Vbus error clear) input is used to clear
0054                 vbus error, then A-device will power down the bus.
0055 
0056                 Valid value is "1"