diff options
Diffstat (limited to 'kernels/linux-libre-lts-knock/0005-ARM-sun5i-chip-Add-CPU-regulator-for-cpufreq.patch')
-rw-r--r-- | kernels/linux-libre-lts-knock/0005-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/0005-ARM-sun5i-chip-Add-CPU-regulator-for-cpufreq.patch b/kernels/linux-libre-lts-knock/0005-ARM-sun5i-chip-Add-CPU-regulator-for-cpufreq.patch new file mode 100644 index 000000000..3128e7cd5 --- /dev/null +++ b/kernels/linux-libre-lts-knock/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 + |