diff options
| author | 2026-10-08 09:48:29 +0000 | |
|---|---|---|
| committer | 2026-10-13 15:19:27 +0200 | |
| commit | 7b07356e820e9543cb5b64d009c345303aad0c65 (patch) | |
| tree | 08f6ea0a4929f7a958bf86dd9a8df35a3389aa5b /scripts/Makefile.thinlto | |
| parent | serial: max310x: don't power down the port mid-transmission on close (diff) | |
serial: max310x: support active-low RTS on the hardware path
The chip's auto-RTS engine asserts the RTS_ pin high while data is
shifting out, so a transceiver with an active-low driver-enable could
not use the hardware RS485 path at all: SER_RS485_RTS_AFTER_SEND is
not in the supported flags and the core normalizes it away with
"invalid RTS setting, using RTS_ON_SEND instead".
The output stage is invertible: program IRDA.RTSINVERT when the
requested polarity is active-low and advertise SER_RS485_RTS_AFTER_SEND
in rs485_supported. A break already drives break_state onto the RTS
bit unadjusted, which remains correct because RTSINVERT inverts the
output stage itself, not the register value.
Assisted-by: Claude:claude-fable-5
Signed-off-by: Tapio Reijonen <tapio.reijonen@vaisala.com>
Link: https://patch.msgid.link/20261008-max310x-rs485-sw-delay-v8-6-6ba881f81e1f@vaisala.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
