From 506dc815b9fc6869402c6a0157a1bdf27a89b9a3 Mon Sep 17 00:00:00 2001 From: Pavel Kubelun Date: Fri, 4 Nov 2016 20:22:17 +0300 Subject: ipq806x: add CPU idle states Signed-off-by: Pavel Kubelun --- .../linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'target/linux/ipq806x/files') 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 { -- cgit v1.2.3