summaryrefslogtreecommitdiffstats
path: root/Documentation/usb
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-04 18:43:07 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-04 18:43:07 -0800
commit3d0712deb0a416021e55febc7ec7f6c24f460e06 (patch)
treecf56aba54ac85516fc753b662a1880e8a50ee5d9 /Documentation/usb
parent83253b3b0286ab6111e0266da74fb10b7b92746b (diff)
parent0561f77e2db9e72dc32e4f82b56fca8ba6b31171 (diff)
downloadlinux-0-day-3d0712deb0a416021e55febc7ec7f6c24f460e06.tar.gz
linux-0-day-3d0712deb0a416021e55febc7ec7f6c24f460e06.tar.xz
Merge tag 'usb-for-v4.6' of http://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into usb-next
Felipe writes: usb changes for v4.6 merge window This is almost all under drivers/usb/dwc2/. Many changes to the host side implementation of dwc2 have been done by Douglas Anderson. We also have USB 3.1 support added to the Gadget Framework and, because of that work, dwc3 got support to Synopsys new DWC_usb31 IP core. Other than these 2 important series, we also have the usual collection of non-critical fixes, Documentation updates, and minor changes all over the place.
Diffstat (limited to 'Documentation/usb')
-rw-r--r--Documentation/usb/chipidea.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/Documentation/usb/chipidea.txt b/Documentation/usb/chipidea.txt
index 05f735a1b5a57..678741b0f213e 100644
--- a/Documentation/usb/chipidea.txt
+++ b/Documentation/usb/chipidea.txt
@@ -26,16 +26,17 @@ cat /sys/kernel/debug/ci_hdrc.0/registers
On B-device:
echo 1 > /sys/bus/platform/devices/ci_hdrc.0/inputs/b_bus_req
- if HNP polling is not supported, also need:
- On A-device:
- echo 0 > /sys/bus/platform/devices/ci_hdrc.0/inputs/a_bus_req
-
B-device should take host role and enumrate A-device.
4) A-device switch back to host.
On B-device:
echo 0 > /sys/bus/platform/devices/ci_hdrc.0/inputs/b_bus_req
+ or, by introducing HNP polling, B-Host can know when A-peripheral wish
+ to be host role, so this role switch also can be trigged in A-peripheral
+ side by answering the polling from B-Host, this can be done on A-device:
+ echo 1 > /sys/bus/platform/devices/ci_hdrc.0/inputs/a_bus_req
+
A-device should switch back to host and enumrate B-device.
5) Remove B-device(unplug micro B plug) and insert again in 10 seconds,