diff options
| author | Nicolai Buchwitz <nb@tipi-net.de> | 2026-10-13 15:28:44 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-10-14 17:39:11 +0200 |
| commit | 1b6d660e038b6ba0db07e0f3413c1857073adbba (patch) | |
| tree | 0b03177c7ee0d064c9ed5756d08c2ba66e797662 /include/linux/debugobjects.h | |
| parent | 1b60b18a0174c4a14b2efc196c231ea1e6bc26c5 (diff) | |
serial: amba-pl011: drive the bus during break in RS485 mode
In RS485 mode the transceiver is enabled only while data is sent. A
break set with TIOCSBRK therefore never reaches the bus, and protocols
that start each frame with a break, like DMX512, do not work.
Handle an active break like a transmission. Enable the transceiver
before setting the break, after delay_rts_before_send if one is
configured. When the break ends, stop transmitting unless the TX path
is still sending data.
Signed-off-by: Nicolai Buchwitz <nb@tipi-net.de>
Link: https://patch.msgid.link/20261013-devel-pl011-rs485-break-v2-1-31c9f80d3e3d@tipi-net.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
