dt-bindings: serial: imx: clarify rs485 support usage
authorBaruch Siach <baruch@tkos.co.il>
Thu, 28 Jun 2018 07:25:32 +0000 (10:25 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jun 2018 12:02:38 +0000 (21:02 +0900)
commite51e597d9f692cd7d205e3b44bb35ea3b97e7329
tree314792571aa41514184f9f098b4513ce4f64980a
parent728e74a46fd4166935f2079b619007eaad98c9a5
dt-bindings: serial: imx: clarify rs485 support usage

The i.MX UART peripheral uses the RST_B signal as input, and CTS_B as
output. This is just like the DCE role in RS-232. This is true
regardless of the "DTE mode" setting of this peripheral.

As a result, rs485 support hardware must use the CTS_B signal to control
the RS-485 transceiver. This is in contrast to generic rs485 kernel
code, documentation, and DT property names that consistently refer to
the RTS as transceiver control signal.

Add a note in the DT binding document about that, to reduce the
confusion somewhat.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/serial/fsl-imx-uart.txt