]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
tty: 8250_of: Use software emulated RS485 direction control
authorHeiko Schocher <hs@denx.de>
Fri, 13 Sep 2019 05:01:05 +0000 (07:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2019 12:50:01 +0000 (14:50 +0200)
commit0c11b88883db1a83980633fc88091d3cdd79bd48
tree586c1a5a1f97fee023f8583587d3784357f7095a
parent39f809192661be91fabc3ee77c2e15f9123c11cf
tty: 8250_of: Use software emulated RS485 direction control

Use software emulated RS485 direction control to provide RS485 API

Currently it is not possible to use rs485 as pointer to
rs485_config struct in struct uart_port is NULL in case we
configure the port through device tree.

Signed-off-by: Heiko Schocher <hs@denx.de>
Link: https://lore.kernel.org/r/20190913050105.1132080-1-hs@denx.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_of.c