]> git.baikalelectronics.ru Git - 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)
commit43c9ac984f18be8287b8f1a5f9b5dda65c3b12dc
tree586c1a5a1f97fee023f8583587d3784357f7095a
parent287b292f66c059894b01ea3ad9a16a499bfd0cfa
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