usb: cdns3: host: add xhci_plat_priv quirk XHCI_SKIP_PHY_INIT
authorPeter Chen <peter.chen@nxp.com>
Fri, 22 May 2020 10:08:31 +0000 (18:08 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Mar 2021 13:17:25 +0000 (14:17 +0100)
[ Upstream commit 68ed3f3d8a057bd34254e885a6306fedc0936e50 ]

cdns3 manages PHY by own DRD driver, so skip the management by
HCD core.

Reviewed-by: Jun Li <jun.li@nxp.com>
Reviewed-by: Pawel Laszczak <pawell@cadence.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/usb/cdns3/host.c

index de8da73..f847393 100644 (file)
@@ -24,6 +24,7 @@
 #define LPM_2_STB_SWITCH_EN    BIT(25)
 
 static const struct xhci_plat_priv xhci_plat_cdns3_xhci = {
+       .quirks = XHCI_SKIP_PHY_INIT,
        .suspend_quirk = xhci_cdns3_suspend_quirk,
 };