serial: 8250: Add NOMSI bug for bcm2835aux
authorPhil Elwell <phil@raspberrypi.com>
Mon, 24 Apr 2023 10:48:31 +0000 (11:48 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:31 +0000 (11:33 +0000)
commit69a944d0a799acea8dc55bd2d2a2907b7bcbc2a9
treee50efc51a87bde20bba99083d629741af4bbab79
parentf77bf2a13f6e8182e5e2f780fefb927160eebf20
serial: 8250: Add NOMSI bug for bcm2835aux

The BCM2835 mini-UART has no modem status interrupt, causing all
transmission to stop, never to use, if a speed change ever happens
while the CTS signal is high.

Add a simple polling mechanism in order to allow recovery in that
situation.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
drivers/tty/serial/8250/8250.h
drivers/tty/serial/8250/8250_bcm2835aux.c
drivers/tty/serial/8250/8250_core.c
drivers/tty/serial/8250/8250_port.c