]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: sc8180x: add power-domain to UFS PHY
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Wed, 1 May 2024 16:19:31 +0000 (19:19 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 Aug 2024 06:59:16 +0000 (08:59 +0200)
[ Upstream commit 9a80ecce60bd4919019a3cdb64604c9b183a8518 ]

The UFS PHY is powered on via the UFS_PHY_GDSC power domain. Add
corresponding power-domain the the PHY node.

Fixes: 8575f197b077 ("arm64: dts: qcom: Introduce the SC8180x platform")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240501-qcom-phy-fixes-v1-5-f1fd15c33fb3@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/sc8180x.dtsi

index 456ec81327021d8d0b9534e9a09fc9a86b548f24..da69577b6f09b3037498eca090c9875946cd49b1 100644 (file)
                        resets = <&ufs_mem_hc 0>;
                        reset-names = "ufsphy";
 
+                       power-domains = <&gcc UFS_PHY_GDSC>;
+
                        #phy-cells = <0>;
 
                        status = "disabled";