usb: dwc3: add a quirk xhci_slow_suspend_quirk
authorWu Liang feng <wulf@rock-chips.com>
Wed, 10 Aug 2016 12:55:53 +0000 (20:55 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 17 Aug 2016 10:33:22 +0000 (18:33 +0800)
commit8643e4397f940b5497de8d2876d01d33d98077fc
treebda320b6b0fe7b5b7e786fb335ca6231257e2f21
parent562a6be2d6382b70fe27bc49054c6e7188a75b41
usb: dwc3: add a quirk xhci_slow_suspend_quirk

On some xHCI controllers (e.g. Rockchip SoCs), which are
integrated in DWC3 IP, need an extraordinary delay to wait
for xHCI enter the Halted state(i.e. HCH in the USBSTS
register is '1'), especially if DWC3 is in DRD mode.

Change-Id: I67c84d4768df95f7616d6716a77cf743e4334122
Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
Documentation/devicetree/bindings/usb/dwc3.txt
drivers/usb/dwc3/core.c
drivers/usb/dwc3/core.h
drivers/usb/dwc3/host.c