2
0
forked from Ivasoft/openwrt

ipq806x: add CPU idle states

Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
This commit is contained in:
Pavel Kubelun
2016-11-04 20:22:17 +03:00
committed by John Crispin
parent 793d448a51
commit 506dc815b9
5 changed files with 102 additions and 0 deletions

View File

@@ -36,6 +36,7 @@
cooling-min-state = <0>;
cooling-max-state = <10>;
#cooling-cells = <2>;
cpu-idle-states = <&CPU_SPC>;
};
cpu1: cpu@1 {
@@ -54,6 +55,7 @@
cooling-min-state = <0>;
cooling-max-state = <10>;
#cooling-cells = <2>;
cpu-idle-states = <&CPU_SPC>;
};
L2: l2-cache {
@@ -65,6 +67,16 @@
qcom,l2 {
qcom,l2-rates = <384000000 1000000000 1200000000>;
};
idle-states {
CPU_SPC: spc {
compatible = "qcom,idle-state-spc",
"arm,idle-state";
entry-latency-us = <400>;
exit-latency-us = <900>;
min-residency-us = <3000>;
};
};
};
cpu-pmu {