The INT2 GDSC on Kaanapali (SM8850) powers the VIG2, VIG3 and DMA5
source pipes. Without enabling it, these pipes remain inaccessible.

The DPU is supplied by both CORE and INT2, so describe both GDSCs as
its power domains rather than attaching the DPU directly to their
parent MMCX domain.

Keep CORE attached to the parent MDSS device because it also supplies
shared MDSS hardware outside the DPU.

Reviewed-by: Abel Vesa <[email protected]>
Signed-off-by: Yongxing Mou <[email protected]>
---
 arch/arm64/boot/dts/qcom/kaanapali.dtsi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/kaanapali.dtsi 
b/arch/arm64/boot/dts/qcom/kaanapali.dtsi
index e48a179d0722..98d367b9dac7 100644
--- a/arch/arm64/boot/dts/qcom/kaanapali.dtsi
+++ b/arch/arm64/boot/dts/qcom/kaanapali.dtsi
@@ -3674,7 +3674,9 @@ mdss_mdp: display-controller@9801000 {
 
                                operating-points-v2 = <&mdp_opp_table>;
 
-                               power-domains = <&rpmhpd RPMHPD_MMCX>;
+                               power-domains = <&dispcc 
DISP_CC_MDSS_CORE_GDSC>,
+                                               <&dispcc 
DISP_CC_MDSS_CORE_INT2_GDSC>;
+                               power-domain-names = "core", "int2";
 
                                ports {
                                        #address-cells = <1>;

-- 
2.43.0

Reply via email to