arm64: dts: apple: Re-parent ANS2 power domains
authorHector Martin <marcan@marcan.st>
Thu, 2 Jun 2022 17:42:12 +0000 (19:42 +0200)
committerHector Martin <marcan@marcan.st>
Tue, 21 Jun 2022 10:06:30 +0000 (19:06 +0900)
Turns out that the APCIE_ST*_SYS domains do hard-depend on ANS2, so
without this they refuse to power up.

Reviewed-by: Sven Peter <sven@svenpeter.dev>
Signed-off-by: Sven Peter <sven@svenpeter.dev>
Signed-off-by: Hector Martin <marcan@marcan.st>
arch/arm64/boot/dts/apple/t8103-pmgr.dtsi

index fc51bc8..a6dbb1f 100644 (file)
                #power-domain-cells = <0>;
                #reset-cells = <0>;
                label = "ans2";
-               /*
-                * The ADT makes ps_apcie_st depend on ps_ans2 instead, but this
-                * doesn't make much sense since ANS2 uses APCIE_ST.
-                */
-               power-domains = <&ps_apcie_st>;
        };
 
        ps_gfx: power-controller@3f8 {
                #power-domain-cells = <0>;
                #reset-cells = <0>;
                label = "apcie_st";
-               power-domains = <&ps_apcie>;
+               power-domains = <&ps_apcie>, <&ps_ans2>;
        };
 
        ps_ane_sys: power-controller@470 {