All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm: dts: imx8mp-venice-gw74xx: fix uart configuration gpio hogs
@ 2022-09-08 20:41 Tim Harvey
  2022-10-21 11:41 ` sbabic
  0 siblings, 1 reply; 2+ messages in thread
From: Tim Harvey @ 2022-09-08 20:41 UTC (permalink / raw)
  To: Stefano Babic, Fabio Estevam, u-boot; +Cc: NXP i . MX U-Boot Team, Tim Harvey

Update the UART config gpio hogs such that it is configured for RS232
by default on boot. Additionally rename them to match the names used
on the reset of the venice boards.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
---
 arch/arm/dts/imx8mp-venice-gw74xx-u-boot.dtsi | 20 +++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/arch/arm/dts/imx8mp-venice-gw74xx-u-boot.dtsi b/arch/arm/dts/imx8mp-venice-gw74xx-u-boot.dtsi
index caee3f66954b..cd91d270dbc6 100644
--- a/arch/arm/dts/imx8mp-venice-gw74xx-u-boot.dtsi
+++ b/arch/arm/dts/imx8mp-venice-gw74xx-u-boot.dtsi
@@ -116,29 +116,29 @@
 		line-name = "m2_wdis#";
 	};
 
-	uart_rs485_hog {
+	rs485_en {
 		gpio-hog;
-		gpios = <31 GPIO_ACTIVE_LOW>;
+		gpios = <31 GPIO_ACTIVE_HIGH>;
 		output-low;
-		line-name = "uart_rs485";
+		line-name = "rs485_en";
 	};
 };
 
 &gpio5 {
 	u-boot,dm-spl;
 
-	uart_half_hog {
+	rs485_half {
 		gpio-hog;
-		gpios = <0 GPIO_ACTIVE_LOW>;
-		output-high;
-		line-name = "uart_half";
+		gpios = <0 GPIO_ACTIVE_HIGH>;
+		output-low;
+		line-name = "rs485_hd";
 	};
 
-	uart_term_hog {
+	rs485_term {
 		gpio-hog;
-		gpios = <1 GPIO_ACTIVE_LOW>;
+		gpios = <1 GPIO_ACTIVE_HIGH>;
 		output-low;
-		line-name = "uart_term";
+		line-name = "rs485_term";
 	};
 };
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] arm: dts: imx8mp-venice-gw74xx: fix uart configuration gpio hogs
  2022-09-08 20:41 [PATCH] arm: dts: imx8mp-venice-gw74xx: fix uart configuration gpio hogs Tim Harvey
@ 2022-10-21 11:41 ` sbabic
  0 siblings, 0 replies; 2+ messages in thread
From: sbabic @ 2022-10-21 11:41 UTC (permalink / raw)
  To: Tim Harvey, u-boot

> Update the UART config gpio hogs such that it is configured for RS232
> by default on boot. Additionally rename them to match the names used
> on the reset of the venice boards.
> Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-21 11:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-08 20:41 [PATCH] arm: dts: imx8mp-venice-gw74xx: fix uart configuration gpio hogs Tim Harvey
2022-10-21 11:41 ` sbabic

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.