OSDN Git Service

usb: host: Stops USB controller init if PLL fails to lock
authorRamneek Mehresh <ramneek.mehresh@freescale.com>
Mon, 24 Jun 2019 07:22:18 +0000 (15:22 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Jul 2019 16:52:20 +0000 (18:52 +0200)
commitc1f9d2e4110cbcbbba844406e58ed41120166a73
tree3b095f9d88fd101a59129cb995da472b2955cb3a
parent1a4dcb8aed681c426954b1cf7e4b78aab465690e
usb: host: Stops USB controller init if PLL fails to lock

USB erratum-A006918 workaround tries to start internal PHY inside
uboot (when PLL fails to lock). However, if the workaround also
fails, then USB initialization is also stopped inside Linux.
Erratum-A006918 workaround failure creates "fsl,erratum_a006918"
node in device-tree. Presence of this node in device-tree is
used to stop USB controller initialization in Linux

Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
Signed-off-by: Suresh Gupta <suresh.gupta@freescale.com>
Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com>
Link: https://lore.kernel.org/r/20190624072219.15258-4-yinbo.zhu@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-fsl.c
drivers/usb/host/fsl-mph-dr-of.c