Lines Matching +full:usb +full:- +full:switch

6 -----------------------------------
12 -------------------------
29 otg-rev = <0x0200>;
30 adp-disable;
33 -------------------
38 2) Connect 2 boards with usb cable with one end is micro A plug, the other end
41 The A-device(with micro A plug inserted) should enumerate B-device.
43 3) Role switch
45 On B-device::
49 B-device should take host role and enumerate A-device.
51 4) A-device switch back to host.
53 On B-device::
57 or, by introducing HNP polling, B-Host can know when A-peripheral wish
58 to be host role, so this role switch also can be trigged in A-peripheral
59 side by answering the polling from B-Host, this can be done on A-device::
63 A-device should switch back to host and enumerate B-device.
65 5) Remove B-device(unplug micro B plug) and insert again in 10 seconds,
66 A-device should enumerate B-device again.
68 6) Remove B-device(unplug micro B plug) and insert again after 10 seconds,
69 A-device should NOT enumerate B-device.
71 if A-device wants to use bus:
73 On A-device::
78 if B-device wants to use bus:
80 On B-device::
84 7) A-device power down the bus.
86 On A-device::
90 A-device should disconnect with B-device and power down the bus.
92 8) B-device does data pulse for SRP.
94 On B-device::
98 A-device should resume usb bus and enumerate B-device.
101 ----------------------
102 "On-The-Go and Embedded Host Supplement to the USB Revision 2.0 Specification
105 2. How to enable USB as system wakeup source
106 --------------------------------------------
107 Below is the example for how to enable USB as system wakeup source
116 echo enabled > /sys/bus/platform/devices/2184000.usb/power/wakeup
124 echo enabled > /sys/bus/usb/devices/usb1/power/wakeup
128 echo enabled > /sys/bus/usb/devices/1-1/power/wakeup
130 If the system has only one usb port, and you want usb wakeup at this port, you
131 can use below script to enable usb wakeup::
133 for i in $(find /sys -name wakeup | grep usb);do echo enabled > $i;done;