Skip to contentSkip to conversation

arm: dts: imx8mm-venice-gw7901: add digital I/O direction control GPIO's

PATCH In review Tim Harvey 2 participants 2 messages Mar 25, 2024 – Mar 30, 2024

Subsystems (2)
lore
Share & tools
lore

Tim Harvey

author
#0 lore raw

PATCH 1/1 arm: dts: imx8mm-venice-gw7901: add digital I/O direction control GPIO's

The GW7901 has GPIO's to configure the direction of its isolated digital I/O signals. Add the GPIO pinmux, line names, and hog configuration.

---
 arch/arm/dts/imx8mm-venice-gw7901-u-boot.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
arch/arm/dts/imx8mm-venice-gw7901-u-boot.dtsi +14 -0
index e68030e7b22c..9fa21942c0c6 100644
@@ -43,6 +43,20 @@
 };
 
 &gpio4 {
+	dig1ctl {
+		gpio-hog;
+		output-low;
+		gpios = <4 GPIO_ACTIVE_HIGH>;
+		line-name = "dig1_ctl";
+	};
+
+	dig2ctl {
+		gpio-hog;
+		output-low;
+		gpios = <5 GPIO_ACTIVE_HIGH>;
+		line-name = "dig2_ctl";
+	};
+
 	uart3_rs232 {
 		gpio-hog;
 		output-high;
Signature · 1 line
2.25.1
reviewer
#1 lore raw
Quoted 6 lines · Tim Harvey

The GW7901 has GPIO's to configure the direction of its isolated digital I/O signals. Add the GPIO pinmux, line names, and hog configuration.

Applied to u-boot-imx/next, thanks.