From: Ansuel Smith Date: Thu, 5 Dec 2019 00:12:32 +0000 (+0100) Subject: ipq806x: set apq8064 regulator to support cpuidle X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=71b106223067dd37e749482ef70d5b62444c8f52;p=openwrt%2Fstaging%2Fadrian.git ipq806x: set apq8064 regulator to support cpuidle Set qcom,apq8064-saw2-v1.1-cpu as regulator to make cpuidle work. Signed-off-by: Ansuel Smith --- diff --git a/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064.dtsi b/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064.dtsi index bdeec812f6..a7a9c49fc5 100644 --- a/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064.dtsi +++ b/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064.dtsi @@ -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>; @@ -704,13 +705,13 @@ }; 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; };