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