From dec9df6d347ef380e8bb8f194b8bf1674ce1008d Mon Sep 17 00:00:00 2001 From: Lina Iyer Date: Fri, 24 Oct 2014 17:40:18 -0600 Subject: arm: dts: qcom: Add power-controller device node for 8974 Krait CPUs Each Krait CPU in the QCOM 8974 SoC has an SAW power controller to regulate the power to the cpu and aide the core in entering idle states. Reference the SAW instance and associate the instance with the CPU core. Signed-off-by: Lina Iyer --- arch/arm/boot/dts/qcom-msm8974.dtsi | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'arch') diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index 45ff96d74079..a200883f7fed 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -24,6 +24,7 @@ clocks = <&kraitcc 0>; clock-names = "cpu"; clock-latency = <100000>; + qcom,saw = <&saw0>; }; cpu1: cpu@1 { @@ -36,6 +37,7 @@ clocks = <&kraitcc 1>; clock-names = "cpu"; clock-latency = <100000>; + qcom,saw = <&saw1>; }; cpu2: cpu@2 { @@ -48,6 +50,7 @@ clocks = <&kraitcc 2>; clock-names = "cpu"; clock-latency = <100000>; + qcom,saw = <&saw2>; }; cpu3: cpu@3 { @@ -60,6 +63,7 @@ clocks = <&kraitcc 3>; clock-names = "cpu"; clock-latency = <100000>; + qcom,saw = <&saw3>; }; L2: l2-cache { @@ -447,7 +451,27 @@ clock-output-names = "hfpll3"; }; - saw_l2: regulator@f9012000 { + saw0: power-controller@f9089000 { + compatible = "qcom,msm8974-saw2-v2.1-cpu"; + reg = <0xf9089000 0x1000>; + }; + + saw1: power-controller@f9099000 { + compatible = "qcom,msm8974-saw2-v2.1-cpu"; + reg = <0xf9099000 0x1000>; + }; + + saw2: power-controller@f90a9000 { + compatible = "qcom,msm8974-saw2-v2.1-cpu"; + reg = <0xf90a9000 0x1000>; + }; + + saw3: power-controller@f90b9000 { + compatible = "qcom,msm8974-saw2-v2.1-cpu"; + reg = <0xf90b9000 0x1000>; + }; + + saw_l2: power-controller@f9012000 { compatible = "qcom,saw2"; reg = <0xf9012000 0x1000>; regulator; -- cgit v1.2.3