From 0823b72d1b79efc8b9b30935c1c1951f97f5b3ee Mon Sep 17 00:00:00 2001 From: Mike Tipton Date: Mon, 2 Oct 2023 13:58:05 -0700 Subject: [PATCH] ARM: dts: msm: Make gx_clkctl_gx_gdsc depend on gpucc for Sun The clock required to access this GDSC depends on a clock coming from GPU_CC, which is enabled by default in gpucc probe. Add a phandle to gpucc to ensure it probes first and enables the required clock. Change-Id: I5aae1a6a1a3615cf1a8227b839a721a6af945243 Signed-off-by: Mike Tipton --- qcom/sun.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcom/sun.dtsi b/qcom/sun.dtsi index dea5b1b6..d02af49e 100644 --- a/qcom/sun.dtsi +++ b/qcom/sun.dtsi @@ -1079,7 +1079,7 @@ gx_clkctl_gx_gdsc: qcom,gdsc@3d68024 { compatible = "qcom,gdsc"; reg = <0x3d68024 0x4>; - clocks = <&gcc GCC_GPU_CFG_AHB_CLK>; + clocks = <&gpucc GPU_CC_GX_AHB_FF_CLK>; regulator-name = "gx_clkctl_gx_gdsc"; parent-supply = <&VDD_GFX_GFX_MXC_VOTER_LEVEL>; qcom,retain-regs;