]> git.baikalelectronics.ru Git - kernel.git/commit
serial: imx: implement rts delaying for rs485
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 14 Jul 2020 09:30:11 +0000 (11:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Jul 2020 19:08:10 +0000 (21:08 +0200)
commit7eafb63214ae7a1ec65767e8b25ea4cf836b9087
treef2941c6ca06cd145d18d8fffa1508f165372bcd2
parent26b2cc9e71e5ffd91923c4a30c42aef4422a1a72
serial: imx: implement rts delaying for rs485

This adds support for delays between assertion of RTS (which is supposed
to enable the rs485 transmitter) and sending as well as between the last
send char and deassertionof RTS.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20200714093012.21621-2-uwe@kleine-koenig.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c