aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/files-4.19
diff options
context:
space:
mode:
authorAnsuel Smith <ansuelsmth@gmail.com>2020-01-05 18:15:22 +0100
committerÁlvaro Fernández Rojas <noltari@gmail.com>2020-01-08 14:30:43 +0100
commit0ef755b8adb351d5658c462738435ccee0baf576 (patch)
tree1695956401a0835bc6ccea73f1331102345af773 /target/linux/ipq806x/files-4.19
parent411ad3727a3a12042b3f6cea43b621cc2373d67e (diff)
downloadupstream-0ef755b8adb351d5658c462738435ccee0baf576.tar.gz
upstream-0ef755b8adb351d5658c462738435ccee0baf576.tar.bz2
upstream-0ef755b8adb351d5658c462738435ccee0baf576.zip
ipq806x: refactor l2 freq scaling patch
Refactor l2 freq scaling patch to support voltage scaling and add support to base cache scaling on cpu freq scaling. Update the dtsi files with the new definition used in the new code. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Diffstat (limited to 'target/linux/ipq806x/files-4.19')
-rw-r--r--target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064.dtsi3
-rw-r--r--target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8065.dtsi4
2 files changed, 7 insertions, 0 deletions
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 e6066024f6..1cf105d81e 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
@@ -67,6 +67,9 @@
qcom,l2 {
qcom,l2-rates = <384000000 1000000000 1200000000>;
+ qcom,l2-cpufreq = <384000000 600000000 1200000000>;
+ qcom,l2-volt = <1100000 1100000 1150000>;
+ qcom,l2-supply = <&smb208_s1a>;
};
idle-states {
diff --git a/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8065.dtsi b/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8065.dtsi
index ae9e4a2e8e..fdd4697887 100644
--- a/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8065.dtsi
+++ b/target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8065.dtsi
@@ -24,6 +24,10 @@
};
cpus {
+ qcom,l2 {
+ qcom,l2-cpufreq = <384000000 600000000 1400000000>;
+ };
+
idle-states {
CPU_SPC: spc {
status = "disabled";