[PATCH v2] serial: imx: set CTS if DT property "linux, rs485-enabled-at-boot-time" is present

Sascha Hauer s.hauer at pengutronix.de
Mon Aug 24 03:03:23 EDT 2020


On Thu, Aug 20, 2020 at 09:30:39AM +0200, Oleksij Rempel wrote:
> If we have a "linux,rs485-enabled-at-boot-time" DT property, we should
> set CTS flag as soon as possible to the active state. This will set an
> RS485 transmitter to receive-enable mode. Otherwise the RS485 bus will
> be blocked for entire system boot time and other bus participants will
> not be able to communicate.
> 
> Signed-off-by: Oleksij Rempel <o.rempel at pengutronix.de>
> ---
>  drivers/serial/serial_imx.c | 8 ++++++++
>  1 file changed, 8 insertions(+)

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list