Skip to content

Commit

Permalink
arm64: dts: msm8996: fix PSCI entry-latency-us
Browse files Browse the repository at this point in the history
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: f6aee7a ("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>
  • Loading branch information
Niklas Cassel authored and Bjorn Andersson committed Jun 12, 2019
1 parent c3083c8 commit 73db271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/qcom/msm8996.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
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>;
};
Expand Down

0 comments on commit 73db271

Please sign in to comment.