ipq806x: set apq8064 regulator to support cpuidle
authorAnsuel Smith <ansuelsmth@gmail.com>
Thu, 5 Dec 2019 00:12:32 +0000 (01:12 +0100)
committerPetr Štetiar <ynezz@true.cz>
Thu, 19 Dec 2019 21:41:57 +0000 (22:41 +0100)
Set qcom,apq8064-saw2-v1.1-cpu as regulator to make cpuidle work.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064.dtsi

index bdeec812f670f1b26bebf7a1cb4aad30603ad800..a7a9c49fc55e0c241f7563f4444bb81d72bbc529 100644 (file)
@@ -70,6 +70,7 @@
                        CPU_SPC: spc {
                                compatible = "qcom,idle-state-spc",
                                                "arm,idle-state";
+                               status = "okay";
                                entry-latency-us = <400>;
                                exit-latency-us = <900>;
                                min-residency-us = <3000>;
                };
 
                saw0: regulator@2089000 {
-                       compatible = "qcom,saw2", "syscon";
+                       compatible = "qcom,saw2", "qcom,apq8064-saw2-v1.1-cpu", "syscon";
                        reg = <0x02089000 0x1000>, <0x02009000 0x1000>;
                        regulator;
                };
 
                saw1: regulator@2099000 {
-                       compatible = "qcom,saw2", "syscon";
+                       compatible = "qcom,saw2", "qcom,apq8064-saw2-v1.1-cpu", "syscon";
                        reg = <0x02099000 0x1000>, <0x02009000 0x1000>;
                        regulator;
                };