Skip to contentSkip to conversation

arm64: dts: meson-g12b-odroid-n2: add 5v regulator gpio

PATCH Applied Anand Moon 2 participants 2 messages Sep 20, 2021 – Sep 21, 2021

Subsystems (2)
lore
Share & tools
lore

Anand Moon

author
#0 lore raw

PATCH v2 1/1 arm64: dts: meson-g12b-odroid-n2: add 5v regulator gpio

As described in the Odroid-n2 & Odroid-n2-plus schematics, the 5V regulator is controlled by GPIOH_8 and in Open Drain since this GPIO doesn't support Push-Pull.

Fixes c35f6dc5c377 ("arm64: dts: meson: Add minimal support for Odroid-N2")
Fixes ef599f5f3e10 ("arm64: dts: meson: convert ODROID-N2 to dtsi")

---
V1- Added missing Fix tags and update the Neil's Ack

---
 arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi +2 -0
index 344573e157a7..26943c53dfa7 100644
@@ -99,6 +99,8 @@ vcc_5v: regulator-vcc_5v {
 		regulator-max-microvolt = <5000000>;
 		regulator-always-on;
 		vin-supply = <&main_12v>;
+		gpio = <&gpio GPIOH_8 GPIO_OPEN_DRAIN>;
+		enable-active-high;
 	};
 
 	vcc_1v8: regulator-vcc_1v8 {
Signature · 7 lines
2.33.0


_______________________________________________
linux-amlogic mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-amlogic
#1 lore raw

Hi,

Quoted 6 lines · Anand Moon

As described in the Odroid-n2 & Odroid-n2-plus schematics, the 5V regulator is controlled by GPIOH_8 and in Open Drain since this GPIO doesn't support Push-Pull.

Fixes c35f6dc5c377 ("arm64: dts: meson: Add minimal support for Odroid-N2")
Fixes ef599f5f3e10 ("arm64: dts: meson: convert ODROID-N2 to dtsi")

Thanks, Applied to https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git (v5.16/dt64)

[1/1] arm64: dts: meson-g12b-odroid-n2: add 5v regulator gpio

      https://git.kernel.org/amlogic/c/ecff7bab5c9c2e2b6f5739b328347e08415879ec
Signature · 1 line
Neil