aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/files
diff options
context:
space:
mode:
authorPavel Kubelun <be.dissent@gmail.com>2016-11-04 20:22:17 +0300
committerJohn Crispin <john@phrozen.org>2016-11-16 10:59:30 +0100
commit506dc815b9fc6869402c6a0157a1bdf27a89b9a3 (patch)
treefeb4b95f86ee2ba70bafa1cf6a8c71d288b66dec /target/linux/ipq806x/files
parent793d448a51b53d81e2dbd58a5865a204de92ad34 (diff)
downloadupstream-506dc815b9fc6869402c6a0157a1bdf27a89b9a3.tar.gz
upstream-506dc815b9fc6869402c6a0157a1bdf27a89b9a3.tar.bz2
upstream-506dc815b9fc6869402c6a0157a1bdf27a89b9a3.zip
ipq806x: add CPU idle states
Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
Diffstat (limited to 'target/linux/ipq806x/files')
-rw-r--r--target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065.dtsi12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065.dtsi b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065.dtsi
index f09ec92919..fcc08d91ae 100644
--- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065.dtsi
+++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065.dtsi
@@ -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 {