Add C-States and the respective residencies supported by the QCOM 8974 chipset. Current support is for WFI (clock gating) and Standlone-PC (power down of the core). Signed-off-by: Lina Iyer <lina.iyer@xxxxxxxxxx> --- arch/arm/boot/dts/qcom-msm8974-pm.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974-pm.dtsi b/arch/arm/boot/dts/qcom-msm8974-pm.dtsi index d7d81ca..f15796e 100644 --- a/arch/arm/boot/dts/qcom-msm8974-pm.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974-pm.dtsi @@ -88,4 +88,25 @@ qcom,cpu-vctl-mask = <0xf>; qcom,saw2-spm-cmd-ret = [1f 00 03 00 0f]; }; + + qcom,cpuidle { + compatible = "qcom,cpuidle"; + #address-cells = <1>; + #size-cells = <0>; + qcom,cpu-level@0 { + reg = <0x0>; + qcom,state-name = "C1"; + qcom,spm-cpu-mode = "wfi"; + qcom,latency-us = <1>; + qcom,residency-us = <1>; + }; + + qcom,cpu-level@2 { + reg = <0x1>; + qcom,state-name = "C2"; + qcom,spm-cpu-mode = "standalone_pc"; + qcom,latency-us = <300>; + qcom,residency-us = <2000>; + }; + }; }; -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html