usb: dwc3: add a quirk xhci_slow_suspend_quirk
authorWu Liang feng <wulf@rock-chips.com>
Mon, 16 May 2016 10:59:40 +0000 (18:59 +0800)
committerWu Liang feng <wulf@rock-chips.com>
Tue, 17 May 2016 09:47:42 +0000 (17:47 +0800)
commit362400b86170bc0cf776ce19c8c133427646cebc
treebe09b3280d0ffe6bd49626e5d089218dd4f7b6cb
parent8bf2c6841d42095a8d157b192460128e874a6972
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: I7718a4052f67d40cddb50f7113dbb0b591746359
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
drivers/usb/dwc3/platform_data.h