arm64: dts: qcom: x1e80100: Add missing system-wide PSCI power domain
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Tue, 2 Jan 2024 18:29:49 +0000 (19:29 +0100)
committerBjorn Andersson <andersson@kernel.org>
Sat, 27 Jan 2024 23:06:37 +0000 (17:06 -0600)
Previous Qualcomm SoCs over the past couple years have used the Arm DSU
architecture, which basically unified the meaning of the "cluster" and
"system". This is however clearly not the case on X1E, as can be seen
by three separate cluster power domains.

Add the lacking system-level power domain. For now it's going to be
always-on, as no system-wide idle states are defined at the moment.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20240102-topic-x1e_fixes-v1-3-70723e08d5f6@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/x1e80100.dtsi

index be1285d9919e0470907622a1f2ffd3fadab4f813..c8a77f860b03b52beb4558d62e1b0b51fe126e8f 100644 (file)
                CLUSTER_PD0: power-domain-cpu-cluster0 {
                        #power-domain-cells = <0>;
                        domain-idle-states = <&CLUSTER_CL4>, <&CLUSTER_CL5>;
+                       power-domains = <&SYSTEM_PD>;
                };
 
                CLUSTER_PD1: power-domain-cpu-cluster1 {
                        #power-domain-cells = <0>;
                        domain-idle-states = <&CLUSTER_CL4>, <&CLUSTER_CL5>;
+                       power-domains = <&SYSTEM_PD>;
                };
 
                CLUSTER_PD2: power-domain-cpu-cluster2 {
                        #power-domain-cells = <0>;
                        domain-idle-states = <&CLUSTER_CL4>, <&CLUSTER_CL5>;
+                       power-domains = <&SYSTEM_PD>;
+               };
+
+               SYSTEM_PD: power-domain-system {
+                       #power-domain-cells = <0>;
+                       /* TODO: system-wide idle states */
                };
        };