Linux-Devicetree Archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: ti: k3-am642-hummingboard-t: correct rs485 rts polarity
@ 2024-05-04 11:35 Josua Mayer
  2024-06-13  7:45 ` Vignesh Raghavendra
  0 siblings, 1 reply; 2+ messages in thread
From: Josua Mayer @ 2024-05-04 11:35 UTC (permalink / raw
  To: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-kernel, devicetree, linux-kernel, Josua Mayer

The RS485 transceiver RE (Receiver enable) and DE (Driver enable) are
shorted and connected to both RTS/CTS of the SoC UART.
RE is active-low, DE is active-high.

Remove the "rs485-rts-active-low" flag to match RTS polarity with DE,
and fix communication in both transmit and receive directions.

Fixes: d60483faf914 ("arm64: dts: add description for solidrun am642 som and evaluation board")
Signed-off-by: Josua Mayer <josua@solid-run.com>
---
 arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dts | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dts b/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dts
index 234d76e4e944..5b5e9eeec5ac 100644
--- a/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dts
+++ b/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dts
@@ -282,7 +282,6 @@ &main_uart3 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&main_uart3_default_pins>;
 	uart-has-rtscts;
-	rs485-rts-active-low;
 	linux,rs485-enabled-at-boot-time;
 	status = "okay";
 };

---
base-commit: 4cece764965020c22cff7665b18a012006359095
change-id: 20240504-ti-rs485-rts-e08a68eac841

Sincerely,
-- 
Josua Mayer <josua@solid-run.com>


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

* Re: [PATCH] arm64: dts: ti: k3-am642-hummingboard-t: correct rs485 rts polarity
  2024-05-04 11:35 [PATCH] arm64: dts: ti: k3-am642-hummingboard-t: correct rs485 rts polarity Josua Mayer
@ 2024-06-13  7:45 ` Vignesh Raghavendra
  0 siblings, 0 replies; 2+ messages in thread
From: Vignesh Raghavendra @ 2024-06-13  7:45 UTC (permalink / raw
  To: Nishanth Menon, Tero Kristo, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Josua Mayer
  Cc: Vignesh Raghavendra, linux-arm-kernel, devicetree, linux-kernel

Hi Josua Mayer,

On Sat, 04 May 2024 13:35:54 +0200, Josua Mayer wrote:
> The RS485 transceiver RE (Receiver enable) and DE (Driver enable) are
> shorted and connected to both RTS/CTS of the SoC UART.
> RE is active-low, DE is active-high.
> 
> Remove the "rs485-rts-active-low" flag to match RTS polarity with DE,
> and fix communication in both transmit and receive directions.
> 
> [...]

I have applied the following to branch ti-k3-dts-next on [1].
Thank you!

[1/1] arm64: dts: ti: k3-am642-hummingboard-t: correct rs485 rts polarity
      commit: 9dcc0e1065f3c40d0b2ad79a858bb4ebaba33167

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Vignesh


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

end of thread, other threads:[~2024-06-13  7:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-04 11:35 [PATCH] arm64: dts: ti: k3-am642-hummingboard-t: correct rs485 rts polarity Josua Mayer
2024-06-13  7:45 ` Vignesh Raghavendra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).