linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: George Hilliard <ghilliard@kopismobile.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: George Hilliard <ghilliard@kopismobile.com>,
	NXP Linux Team <linux-imx@nxp.com>,
	linux-serial@vger.kernel.org, devicetree@vger.kernel.org,
	kernel@pengutronix.de
Subject: [PATCH v2 0/2] Implement support for inverted serial TX/RX on i.MX
Date: Mon, 10 Feb 2020 13:29:47 -0600	[thread overview]
Message-ID: <20200210192949.7338-1-ghilliard@kopismobile.com> (raw)

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(-)

-- 
2.25.0


             reply	other threads:[~2020-02-10 19:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-10 19:29 George Hilliard [this message]
2020-02-10 19:29 ` [PATCH v2 1/2] dt-bindings: serial: document fsl,inverted-tx and -rx options George Hilliard
2020-02-10 19:29 ` [PATCH v2 2/2] tty: imx serial: Implement support for reversing TX and RX polarity George Hilliard
2020-02-10 20:50   ` Uwe Kleine-König
2020-02-10 23:03     ` George Hilliard
2020-02-11  7:38       ` Uwe Kleine-König
2020-02-11 16:18         ` George Hilliard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200210192949.7338-1-ghilliard@kopismobile.com \
    --to=ghilliard@kopismobile.com \
    --cc=devicetree@vger.kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=kernel@pengutronix.de \
    --cc=linux-imx@nxp.com \
    --cc=linux-serial@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).