]> git.baikalelectronics.ru Git - uboot.git/commit
usb: xhci-dwc3: Add support for dis_u2_susphy_quirk
authorNeil Armstrong <narmstrong@baylibre.com>
Mon, 9 Sep 2019 18:52:39 +0000 (18:52 +0000)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 10 Sep 2019 08:00:53 +0000 (10:00 +0200)
commited379710dc4a1870299d0860528ec34247034f82
tree4a2a247a3b47893075f53df1634a47ec7f2be9af
parent28c9213855a10ee070caf898df45f2c7fe4b02b2
usb: xhci-dwc3: Add support for dis_u2_susphy_quirk

This quirk is necessary for the Amlogic GXL SoCs otherwise the
Port 2 PHY doesn't get out of suspend and U-Boot resets the board after:

XHCI timeout on event type 33... cannot recover.
BUG: failure at drivers/usb/host/xhci-ring.c:474/xhci_wait_for_event()!
BUG!

This quirk is also handled in the dwc3 core code, but until the
xhci-dwc3 driver uses the dwc3 core, the quirk must be handled here
to fix USB support on the Amlogic libretech-cc and libretech-ac board
when a device is only plugged in the OTG port.

Cc: Yuri Frolov <crashing.kernel@gmail.com>
Cc: Bin Meng <bmeng.cn@gmail.com>
Fixes: dc9cdf859e ("usb: dwc3: Add DWC3 controller driver support")
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/usb/host/xhci-dwc3.c