Skip to contentSkip to conversation

ARM: dts: sun7i: olimex-lime2: Add regulators for GPIO banks

PATCH Applied Priit Laes 2 participants 2 messages Feb 26, 2019 – Feb 27, 2019

Subsystems (2)
lore
Share & tools
lore

Priit Laes

author
#0 lore raw

PATCH 1/1 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.

---
 arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts +6 -0
index 4e1c590eb098..3de479bfa4cf 100644
@@ -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";
Signature · 1 line
2.11.0
#1 lore raw
Quoted 10 lines · Priit Laes

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.

Queued for 5.2, thanks!
Maxime

Signature · 3 lines
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com