From: Wolfram Sang <w.sang@pengutronix.de>
To: linux-serial@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, Alan Cox <alan@linux.intel.com>,
Claudio Scordino <claudio@evidence.eu.com>,
Juergen Beisert <jbe@pengutronix.de>,
Matthias Fuchs <mfuchs@ma-fu.de>,
Wolfram Sang <w.sang@pengutronix.de>
Subject: [PATCH 0/8] serial: 8250: support hw-based RS485 direction control (finally!)
Date: Wed, 16 Nov 2011 17:24:37 +0100 [thread overview]
Message-ID: <1321460685-15753-1-git-send-email-w.sang@pengutronix.de> (raw)
Some 8250-variants control the direction pin for RS485 in hardware. Linux has
RS485 support these days, so update the 8250-driver to adhere to that. There
have been attempts for mainlining this before. So, I started with the version
from Matthias which got no further comments, a proof-of-concept for the 16V2750
from Jürgen, and reworked it to match the current state of RS485 in Linux. Some
minor cleanup patches came along the way. Really looking forward to
comments/tags, because I think it is really time to get this functionality into
mainline once and for all ;)
Code is based on 3.2-rc2, tested on a OMAP-based custom board with a 16V2750.
A git tree can be found here:
git://git.pengutronix.de/git/wsa/linux-2.6.git 8250_rs485
Thanks and regards,
Wolfram
Matthias Fuchs (1):
serial: 8250: Add ioctl to enable auto rs485 mode with some Exar UARTs
Wolfram Sang (7):
serial: 8250: replace hardcoded 0xbf with #define
serial: 8250: save rs485_flags per instance
serial: 8250: add RX_DURING_TX capability to RS485 mode
serial: 8250: reject delaying RTS with RS485
serial: 8250: update rs485 flags with polarity settings
serial: 8250: add Exar 16V2750 support
serial: 8250: fix comment about accessing EMSR
drivers/tty/serial/8250.c | 143 +++++++++++++++++++++++++++++++++++++++---
include/linux/serial_core.h | 3 +-
include/linux/serial_reg.h | 4 +-
3 files changed, 137 insertions(+), 13 deletions(-)
--
1.7.7.1
next reply other threads:[~2011-11-16 16:24 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-16 16:24 Wolfram Sang [this message]
2011-11-16 16:24 ` [PATCH 1/8] serial: 8250: replace hardcoded 0xbf with #define Wolfram Sang
2011-11-16 16:24 ` [PATCH 2/8] serial: 8250: Add ioctl to enable auto rs485 mode with some Exar UARTs Wolfram Sang
2011-11-17 9:40 ` Claudio Scordino
2011-11-17 10:09 ` Wolfram Sang
2011-11-16 16:24 ` [PATCH 3/8] serial: 8250: save rs485_flags per instance Wolfram Sang
2011-11-16 16:24 ` [PATCH 4/8] serial: 8250: add RX_DURING_TX capability to RS485 mode Wolfram Sang
2011-11-16 16:24 ` [PATCH 5/8] serial: 8250: reject delaying RTS with RS485 Wolfram Sang
2011-11-17 9:43 ` Claudio Scordino
2011-11-17 10:14 ` Wolfram Sang
2011-11-16 16:24 ` [PATCH 6/8] serial: 8250: update rs485 flags with polarity settings Wolfram Sang
2011-11-16 16:24 ` [PATCH 7/8] serial: 8250: add Exar 16V2750 support Wolfram Sang
2011-11-16 16:24 ` [PATCH 8/8] serial: 8250: fix comment about accessing EMSR Wolfram Sang
2011-11-23 15:03 ` [PATCH 0/8] serial: 8250: support hw-based RS485 direction control (finally!) Wolfram Sang
2011-11-24 16:05 ` Claudio Scordino
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=1321460685-15753-1-git-send-email-w.sang@pengutronix.de \
--to=w.sang@pengutronix.de \
--cc=alan@linux.intel.com \
--cc=claudio@evidence.eu.com \
--cc=jbe@pengutronix.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=mfuchs@ma-fu.de \
/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).