Commit 539e87dd authored by Felix Brack's avatar Felix Brack Committed by Kevin Hilman
Browse files

ARM: dts: am335x-pdu001: Fix RS-485 transceiver switching



The wiring of the RS-485 transceiver of UART0 of the PDU-001 board
allows sending or receiving date exclusively. In other words: no
character transmitted will ever be received.
Hence the tx-filter counter in the OMAP serial driver can't work
correctly as it relies on receiving the transmitted characters.
This in turn will prevent reception of data unless we disable the
tx-filter counter.
This patch disables the tx-filter counter by enabling the DTS setting
rs485-rx-during-tx. This might sound like the opposite to be done but
it uses the enabling of rs485-rx-during-tx not for receiving the data
transmitted but for disabling the tx-fiter counter.

Tested-by: default avatarFelix Brack <fb@ltec.ch>
Signed-off-by: default avatarFelix Brack <fb@ltec.ch>
Link: https://lore.kernel.org/r/20250529135324.182868-1-fb@ltec.ch


Signed-off-by: default avatarKevin Hilman <khilman@baylibre.com>
parent 6d04ead9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment