summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/sccnxp.c
diff options
context:
space:
mode:
authorTomasz Moń <tomasz.mon@camlingroup.com>2022-03-01 09:03:32 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-03-02 00:16:59 +0300
commit6e124e58ae2e0e3f6400dce21e942a94a67a7949 (patch)
tree3207415fc634388515ad1d48a9978010da303259 /drivers/tty/serial/sccnxp.c
parent21144bab4f1191e01e1cf785720e6af99d86a347 (diff)
downloadlinux-6e124e58ae2e0e3f6400dce21e942a94a67a7949.tar.xz
sc16is7xx: Set AUTOCTS and AUTORTS bits
Let serial core know that the chip automatically handles RTS/CTS signal. This elimines completely unnecessary I2C/SPI bus traffic. Cease reading from RX FIFO (by disabling RDI interrupt) when throttled. Eventually the FIFO will fill up and the device will drive RTS output inactive. Unthrottle by enabling back RDI interrupt. Indirectly controlling RTS via RX FIFO state seems to be the only option because RTS bit is ignored when hardware flow control is enabled. Signed-off-by: Tomasz Moń <tomasz.mon@camlingroup.com> Link: https://lore.kernel.org/r/20220301060332.2561851-4-tomasz.mon@camlingroup.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions