OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Feb 2020 07:34:41 +0000 (08:34 +0100)
commit1dca9e9371928f213d1e6b569488f44f4cbda55a
tree54c185247630e6c87c25ac865bac322447c636a4
parentc0d7b3faa62731f8f5fb5be2c7b8265b8e2e41a8
arm64: dts: qcom: msm8996: Disable USB2 PHY suspend by core

[ 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>
arch/arm64/boot/dts/qcom/msm8996.dtsi