2019-02-26 14:16:16

by Priit Laes

[permalink] [raw]
Subject: [PATCH] ARM: dts: sun7i: olimex-lime2: Add regulators for GPIO banks

From: Priit Laes <[email protected]>

Make sure that A20 Olimex Lime2 pin bank regulators are
properly represented.

While pin banks A, B and F are connected to 3.3V static
regulator, pin banks E and G tied with LDO3 and LDO4 regulators
with 2.8V reference.

Signed-off-by: Priit Laes <[email protected]>
---
arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
index 4e1c590eb098..3de479bfa4cf 100644
--- a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
+++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
@@ -174,6 +174,12 @@
};

&pio {
+ vcc-pa-supply = <&reg_vcc3v3>;
+ vcc-pc-supply = <&reg_vcc3v3>;
+ vcc-pe-supply = <&reg_ldo3>;
+ vcc-pf-supply = <&reg_vcc3v3>;
+ vcc-pg-supply = <&reg_ldo4>;
+
led_pins_olinuxinolime: led-pins {
pins = "PH2";
function = "gpio_out";
--
2.11.0



2019-02-27 09:25:33

by Maxime Ripard

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: sun7i: olimex-lime2: Add regulators for GPIO banks

On Tue, Feb 26, 2019 at 04:15:25PM +0200, Priit Laes wrote:
> From: Priit Laes <[email protected]>
>
> Make sure that A20 Olimex Lime2 pin bank regulators are
> properly represented.
>
> While pin banks A, B and F are connected to 3.3V static
> regulator, pin banks E and G tied with LDO3 and LDO4 regulators
> with 2.8V reference.
>
> Signed-off-by: Priit Laes <[email protected]>

Queued for 5.2, thanks!
Maxime

--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


Attachments:
(No filename) (524.00 B)
signature.asc (235.00 B)
Download all attachments