]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
arm64: dts: qcom: msm8996: Disable USB2 PHY suspend by core
authorManu Gautam <mgautam@codeaurora.org>
Mon, 9 Dec 2019 15:15:01 +0000 (16:15 +0100)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 7 Apr 2020 08:49:58 +0000 (10:49 +0200)
commitf0e00bd4cd9ded8a35ae5061ffa6bf3a4f6dc349
tree61a3c05275a2301c60a91e4d9b3733563a3657ed
parenteb68ba41f6758a7749c1ff18d7d19fd8232a8e46
arm64: dts: qcom: msm8996: Disable USB2 PHY suspend by core

BugLink: https://bugs.launchpad.net/bugs/1867837
[ Upstream commit d026c96b25b7ce5df89526aad2df988d553edb4d ]

QUSB2 PHY on msm8996 doesn't work well when autosuspend by
dwc3 core using USB2PHYCFG register is enabled. One of the
issue seen is that PHY driver reports PLL lock failure and
fails phy_init() if dwc3 core has USB2 PHY suspend enabled.
Fix this by using quirks to disable USB2 PHY LPM/suspend and
dwc3 core already takes care of explicitly suspending PHY
during suspend if quirks are specified.

Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
Link: https://lore.kernel.org/r/20191209151501.26993-1-p.pisati@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/arm64/boot/dts/qcom/msm8996.dtsi