2016-10-15 15:50:50

by Emmanuel Vadot

[permalink] [raw]
Subject: [PATCH] ARM: dts: sunxi: Add cpu-supply for Olimex A20 EVB

sun7i-a20-olimex-som-evb.dts doesn't contain cpu-supply needed for
voltage-scaling with cpufreq-dt so define it.
The default voltages are defined in sun7i-a20.dtsi.

Signed-off-by: Emmanuel Vadot <[email protected]>
---
arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts b/arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts
index 23aacce..134e0c1 100644
--- a/arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts
+++ b/arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts
@@ -88,6 +88,10 @@
status = "okay";
};

+&cpu0 {
+ cpu-supply = <&reg_dcdc2>;
+};
+
&codec {
status = "okay";
};
--
2.9.2


2016-10-17 18:05:12

by Maxime Ripard

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: sunxi: Add cpu-supply for Olimex A20 EVB

Hi,

On Sat, Oct 15, 2016 at 05:23:40PM +0200, Emmanuel Vadot wrote:
> sun7i-a20-olimex-som-evb.dts doesn't contain cpu-supply needed for
> voltage-scaling with cpufreq-dt so define it.
> The default voltages are defined in sun7i-a20.dtsi.
>
> Signed-off-by: Emmanuel Vadot <[email protected]>

Applied, thanks!
Maxime

--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com


Attachments:
(No filename) (423.00 B)
signature.asc (801.00 B)
Download all attachments