arm64: dts: qcom: sc8280xp: Vote for CX in USB controllers
authorBjorn Andersson <quic_bjorande@quicinc.com>
Thu, 12 Jan 2023 13:51:17 +0000 (05:51 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:32:35 +0000 (09:32 +0100)
[ Upstream commit fe07640280cd29ac2997a617a1fb5487feef9387 ]

Running GCC_USB30_*_MASTER_CLK at 200MHz requires CX at nominal level,
not doing so results in occasional lockups. This was previously hidden
by the fact that the display stack incorrectly voted for CX (instead of
MMCX).

Fixes: 152d1faf1e2f ("arm64: dts: qcom: add SC8280XP platform")
Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230112135117.3836655-1-quic_bjorande@quicinc.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/sc8280xp.dtsi

index 8181ccf..ba684d9 100644 (file)
                                          "ss_phy_irq";
 
                        power-domains = <&gcc USB30_PRIM_GDSC>;
+                       required-opps = <&rpmhpd_opp_nom>;
 
                        resets = <&gcc GCC_USB30_PRIM_BCR>;
 
                                          "ss_phy_irq";
 
                        power-domains = <&gcc USB30_SEC_GDSC>;
+                       required-opps = <&rpmhpd_opp_nom>;
 
                        resets = <&gcc GCC_USB30_SEC_BCR>;