arm64: dts: msm8996: fix PSCI entry-latency-us
authorNiklas Cassel <niklas.cassel@linaro.org>
Tue, 4 Jun 2019 12:29:31 +0000 (14:29 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 12 Jun 2019 06:10:10 +0000 (23:10 -0700)
The current entry-latency-us is too short.
The proper way to convert between the device tree properties
from the vendor tree to the upstream PSCI device tree properties is:

entry-latency-us = qcom,time-overhead - qcom,latency-us

which gives

entry-latency-us = 210 - 80 = 130

Fixes: f6aee7af59b6 ("arm64: dts: qcom: msm8996: Add PSCI cpuidle low power states")
Signed-off-by: Niklas Cassel <niklas.cassel@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/msm8996.dtsi

index b7cf2a1..e8c03b5 100644 (file)
                                compatible = "arm,idle-state";
                                idle-state-name = "standalone-power-collapse";
                                arm,psci-suspend-param = <0x00000004>;
-                               entry-latency-us = <40>;
+                               entry-latency-us = <130>;
                                exit-latency-us = <80>;
                                min-residency-us = <300>;
                        };