From 60fb428708813f7313cde1fbc82d95aabb5d52ec Mon Sep 17 00:00:00 2001 From: Lei Chen Date: Mon, 29 Jul 2024 20:55:23 +0800 Subject: [PATCH] ARM: dts: msm: add disp_cc vote for all components Sync state will remove the disp_cc device vote once the device driver probe is complete. It removes the DSI clock vote early for continuous splash usecase because DSI driver takes its vote in component binding instead of device driver probe. It is better to keep disp_cc vote for components till respective device probe complete and they register themselves to master component. This change adds disp_cc vote for smmu_sde_unsec, smmu_sde_sec, sde_wb1 and sde_wb2 devices to retain vote till bind_all API is called. Change-Id: Ie6e39cb53c4fdd93a1ce7d07a0fc99a250235902 Signed-off-by: Lei Chen --- display/sun-sde-display.dtsi | 4 ++++ display/sun-sde.dtsi | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/display/sun-sde-display.dtsi b/display/sun-sde-display.dtsi index 03774135..a1a671ef 100644 --- a/display/sun-sde-display.dtsi +++ b/display/sun-sde-display.dtsi @@ -24,12 +24,16 @@ compatible = "qcom,wb-display"; cell-index = <0>; label = "wb_display1"; + clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>; + clock-names = "mdp_core_clk"; }; sde_wb2: qcom,wb-display@2 { compatible = "qcom,wb-display"; cell-index = <1>; label = "wb_display2"; + clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>; + clock-names = "mdp_core_clk"; }; diff --git a/display/sun-sde.dtsi b/display/sun-sde.dtsi index 3c3f1462..29503362 100644 --- a/display/sun-sde.dtsi +++ b/display/sun-sde.dtsi @@ -197,6 +197,8 @@ qcom,iommu-faults = "non-fatal"; qcom,iommu-earlymap; /* for cont-splash */ dma-coherent; + clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>; + clock-names = "mdp_core_clk"; }; smmu_sde_sec: qcom,smmu_sde_sec_cb { @@ -205,6 +207,8 @@ memory-region = <&smmu_sde_iommu_region_partition>; qcom,iommu-faults = "non-fatal"; qcom,iommu-vmid = <0xa>; + clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>; + clock-names = "mdp_core_clk"; }; sde_cesta: qcom,sde_cesta@0x0af30000 {