diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-04-14 07:19:57 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-04-14 23:55:29 -0300 |
commit | 9045bb8a72a81b9772394addcc7e875851910480 (patch) | |
tree | affcd36b4ba32010a90065da8df90add60999fd2 /libre/linux-libre-lts/0005-ARM-sun5i-chip-Add-CPU-regulator-for-cpufreq.patch | |
parent | b20fd8d9fab5440ca12add8bf632a33f92995c83 (diff) | |
download | abslibre-9045bb8a72a81b9772394addcc7e875851910480.tar.gz abslibre-9045bb8a72a81b9772394addcc7e875851910480.tar.bz2 abslibre-9045bb8a72a81b9772394addcc7e875851910480.zip |
linux-libre-lts{,-knock}: fix patches for C.H.I.P
Diffstat (limited to 'libre/linux-libre-lts/0005-ARM-sun5i-chip-Add-CPU-regulator-for-cpufreq.patch')
-rw-r--r-- | libre/linux-libre-lts/0005-ARM-sun5i-chip-Add-CPU-regulator-for-cpufreq.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/libre/linux-libre-lts/0005-ARM-sun5i-chip-Add-CPU-regulator-for-cpufreq.patch b/libre/linux-libre-lts/0005-ARM-sun5i-chip-Add-CPU-regulator-for-cpufreq.patch new file mode 100644 index 000000000..3128e7cd5 --- /dev/null +++ b/libre/linux-libre-lts/0005-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 5/5] 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 + |