mbox series

[v2,0/2] Implement support for inverted serial TX/RX on i.MX

Message ID 20200210192949.7338-1-ghilliard@kopismobile.com
Headers show
Series Implement support for inverted serial TX/RX on i.MX | expand

Message

George Hilliard Feb. 10, 2020, 7:29 p.m. UTC
This peripheral has dedicated control bits that flip input/output
signals before handing them off to the OS.  This is useful on my
hardware because the UART is connected to an RS-422 transceiver with the
+/- pins hooked up backward.  Instead of a hack flipping all the bits
before sending them, the hardware can do it for free.

Functionally unchanged from v1, but the confidentiality notice has been
removed.  I also CC'd other lists that Uwe suggested.

George Hilliard (2):
  dt-bindings: serial: document fsl,inverted-tx and -rx options
  tty: imx serial: Implement support for reversing TX and RX polarity

 .../bindings/serial/fsl-imx-uart.txt          |  4 ++++
 drivers/tty/serial/imx.c                      | 22 +++++++++++++------
 2 files changed, 19 insertions(+), 7 deletions(-)