diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-04-13 12:39:03 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-04-13 21:27:15 -0300 |
commit | f62f8ff0be814cf39eff307bc8231cece266834c (patch) | |
tree | fb18c95e7a083fb451fdd8be4f82e17bbee38f31 /kernels/linux-libre-lts-knock/0008-ARM-sun5i-chip-Add-CPU-regulator-for-cpufreq.patch | |
parent | ecbe4f91c7cd19fd04a2d72fdbb419a3eca4e7a2 (diff) | |
download | abslibre-f62f8ff0be814cf39eff307bc8231cece266834c.tar.gz abslibre-f62f8ff0be814cf39eff307bc8231cece266834c.tar.bz2 abslibre-f62f8ff0be814cf39eff307bc8231cece266834c.zip |
linux-libre-lts{,-knock}: add more patches and adapt sun5i-r8.dtsi for 4.1 kernels
Diffstat (limited to 'kernels/linux-libre-lts-knock/0008-ARM-sun5i-chip-Add-CPU-regulator-for-cpufreq.patch')
-rw-r--r-- | kernels/linux-libre-lts-knock/0008-ARM-sun5i-chip-Add-CPU-regulator-for-cpufreq.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/kernels/linux-libre-lts-knock/0008-ARM-sun5i-chip-Add-CPU-regulator-for-cpufreq.patch b/kernels/linux-libre-lts-knock/0008-ARM-sun5i-chip-Add-CPU-regulator-for-cpufreq.patch new file mode 100644 index 000000000..fc7418ab2 --- /dev/null +++ b/kernels/linux-libre-lts-knock/0008-ARM-sun5i-chip-Add-CPU-regulator-for-cpufreq.patch @@ -0,0 +1,33 @@ +From db30fce1eea58e50ae8b2722704b4f529c394dba Mon Sep 17 00:00:00 2001 +From: Maxime Ripard <maxime.ripard@free-electrons.com> +Date: Wed, 25 Nov 2015 16:39:04 +0100 +Subject: [PATCH 8/9] ARM: sun5i: chip: Add CPU regulator for cpufreq + +The current DT doesn't have a phandle to the CPU regulator in the CPU node, +which disables the CPU voltage scaling entirely. + +Add that phandle. + +Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> +--- + arch/arm/boot/dts/sun5i-r8-chip.dts | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/arch/arm/boot/dts/sun5i-r8-chip.dts b/arch/arm/boot/dts/sun5i-r8-chip.dts +index 530ab28..f6898c6 100644 +--- a/arch/arm/boot/dts/sun5i-r8-chip.dts ++++ b/arch/arm/boot/dts/sun5i-r8-chip.dts +@@ -70,6 +70,10 @@ + status = "okay"; + }; + ++&cpu0 { ++ cpu-supply = <®_dcdc2>; ++}; ++ + &ehci0 { + status = "okay"; + }; +-- +cgit v0.12 + |