arm64: dts: qcom: sm8450: Update cpuidle states parameters
authorMaulik Shah <quic_mkshah@quicinc.com>
Sun, 9 Jan 2022 17:25:01 +0000 (22:55 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 1 Feb 2022 00:30:51 +0000 (18:30 -0600)
This change updates/corrects below cpuidle parameters

1. entry-latency, exit-latency and residency for various idle states.
2. arm,psci-suspend-param which is same for CLUSTER_SLEEP_0/1 states.
3. Add CLUSTER_SLEEP_1 in CLUSTER_PD.

Cc: devicetree@vger.kernel.org
Fixes: 5188049c9b36 ("arm64: dts: qcom: Add base SM8450 DTSI")
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
[bjorn: Split domain-idle-states, per Ulf's request]
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/1641749107-31979-5-git-send-email-quic_mkshah@quicinc.com
arch/arm64/boot/dts/qcom/sm8450.dtsi

index 10c25ad2d0c7422999c7acf8ba92dbbcd4f04721..dbc5eea2ebba6e76fab67d2cd51f5c4824860006 100644 (file)
                                compatible = "arm,idle-state";
                                idle-state-name = "silver-rail-power-collapse";
                                arm,psci-suspend-param = <0x40000004>;
-                               entry-latency-us = <274>;
-                               exit-latency-us = <480>;
-                               min-residency-us = <3934>;
+                               entry-latency-us = <800>;
+                               exit-latency-us = <750>;
+                               min-residency-us = <4090>;
                                local-timer-stop;
                        };
 
                                compatible = "arm,idle-state";
                                idle-state-name = "gold-rail-power-collapse";
                                arm,psci-suspend-param = <0x40000004>;
-                               entry-latency-us = <327>;
-                               exit-latency-us = <1502>;
-                               min-residency-us = <4488>;
+                               entry-latency-us = <600>;
+                               exit-latency-us = <1550>;
+                               min-residency-us = <4791>;
                                local-timer-stop;
                        };
                };
                        CLUSTER_SLEEP_0: cluster-sleep-0 {
                                compatible = "domain-idle-state";
                                idle-state-name = "cluster-l3-off";
-                               arm,psci-suspend-param = <0x4100c344>;
-                               entry-latency-us = <584>;
-                               exit-latency-us = <2332>;
-                               min-residency-us = <6118>;
+                               arm,psci-suspend-param = <0x41000044>;
+                               entry-latency-us = <1050>;
+                               exit-latency-us = <2500>;
+                               min-residency-us = <5309>;
                                local-timer-stop;
                        };
 
                                compatible = "domain-idle-state";
                                idle-state-name = "cluster-power-collapse";
                                arm,psci-suspend-param = <0x4100c344>;
-                               entry-latency-us = <2893>;
-                               exit-latency-us = <4023>;
-                               min-residency-us = <9987>;
+                               entry-latency-us = <2700>;
+                               exit-latency-us = <3500>;
+                               min-residency-us = <13959>;
                                local-timer-stop;
                        };
                };
 
                CLUSTER_PD: cpu-cluster0 {
                        #power-domain-cells = <0>;
-                       domain-idle-states = <&CLUSTER_SLEEP_0>;
+                       domain-idle-states = <&CLUSTER_SLEEP_0>, <&CLUSTER_SLEEP_1>;
                };
        };