OSDN Git Service

USB: dwc3: Add support for fixing superspeed enumeration issue
authorVijayavardhan Vennapusa <vvreddy@codeaurora.org>
Thu, 8 May 2014 08:17:50 +0000 (13:47 +0530)
committerDavid Keitel <dkeitel@codeaurora.org>
Tue, 22 Mar 2016 18:06:31 +0000 (11:06 -0700)
commit567c83ebc7e73ea9dde355fa52e03be13e45d43f
treed0231b11e2da0b9028a4af3437a8ab154c0bc4f5
parent01edad63c9152c1ac3aae8edbf8d373f18dbcd07
USB: dwc3: Add support for fixing superspeed enumeration issue

Setting SSPHY SUSP bit (bit 17) in GUSB3PIPECTL(0) register
might cause device enumerating at high speed mode instead of
superspeed mode on some platforms. Hence add workaround by
clearing the SSPHY SUSP bit during disconnect and setting it
after it is configured to fix this enumeration issue on those
platforms.

Also add support for disabling U1 and U2 low power modes  which
could also affect this enumeration issue.

CRs-Fixed: 637902
Change-Id: I8668ced09a88b77f37265ab15e89fa9e964bfbe9
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
[jackp@codeaurora.org: only add u1/u2 disable bits]
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Documentation/devicetree/bindings/usb/dwc3.txt
drivers/usb/dwc3/core.c
drivers/usb/dwc3/core.h
drivers/usb/dwc3/ep0.c