From: <Vineet.Gupta1@synopsys.com>
To: gregkh@linuxfoundation.org, alan@linux.intel.com, balbi@ti.com
Cc: arc-linux-dev@synopsys.com, linux-serial@vger.kernel.org,
linux-kernel@vger.kernel.org,
Vineet Gupta <Vineet.Gupta1@synopsys.com>
Subject: [PATCH v6] serial/arc-uart: Add new driver
Date: Fri, 26 Oct 2012 19:29:32 +0530 [thread overview]
Message-ID: <1351259973-16989-1-git-send-email-vgupta@synopsys.com> (raw)
From: Vineet Gupta <vgupta@synopsys.com>
Hi,
Here's the updated revision with fixes per Greg and Felipe' review comments.
-Rebased off tty-next tip.
-Build tested for x86, both as builtin and as module
-Same driver (as module) verified on ARCAngel4 Board.
Please consider applying.
Thanks,
Vineet
v6:
* syntactical changes per comments by Felipe
* Empty (request|release)_port removed
v5:
* Driver now builds as module; default !y
* Fixed some build wreckage due to SERIAL_ARC && !SERIAL_ARC_CONSOLE
* Fixed a sparse warning due to forced cast, hence reg offsets now in bytes
v4:
* UAPI disintegration fallout for serial_core.h
* rebased off of tty-next
v3:
* Removed empty arc_serial_set_ldisc()
* More set_termios fixes - CSIZE forced to CS8 (for 8N1)
* global @running_on_iss replaced with platform data, saved in device
specific port structure.
v2:
* ttyARC used as device name
* Dynamic assignment of major/minor numbers.
* Ref counting tty in rx routine to prevent it from disappearing in
case of a hangup
* set_termios fixes:
- hardware flow control/parity are marked as unsupported
- baud written back to termios
* cosmetics such as commenting the need for @running_on_iss, empty lines
etc
Vineet Gupta (1):
serial/arc-uart: Add new driver
drivers/tty/serial/Kconfig | 23 ++
drivers/tty/serial/Makefile | 1 +
drivers/tty/serial/arc_uart.c | 754 ++++++++++++++++++++++++++++++++++++++
include/uapi/linux/serial_core.h | 2 +
4 files changed, 780 insertions(+), 0 deletions(-)
create mode 100644 drivers/tty/serial/arc_uart.c
--
1.7.4.1
next reply other threads:[~2012-10-26 13:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-26 13:59 Vineet.Gupta1 [this message]
2012-10-26 13:59 ` [PATCH v6] serial/arc-uart: Add new driver Vineet.Gupta1
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=1351259973-16989-1-git-send-email-vgupta@synopsys.com \
--to=vineet.gupta1@synopsys.com \
--cc=alan@linux.intel.com \
--cc=arc-linux-dev@synopsys.com \
--cc=balbi@ti.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--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).