linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: alchark@gmail.com (Alexey Charkov)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/4] tty: vt8500_serial: Changes for -next
Date: Sat,  6 Sep 2014 21:21:11 +0400	[thread overview]
Message-ID: <1410024075-1354-1-git-send-email-alchark@gmail.com> (raw)

Hi all,

This series introduces a bit of clean-up (reduce magic numbers) and
new features for the VT8500 serial driver.

Firstly, in a new generation of WonderMedia SoC's the UART module
changed slightly, and now requires one more bit to be set in its
line control register to function properly. This is handled in the
first patch by adding a new DT 'compatible' string for the new chips.

Secondly, a couple of ommissions from the initial driver version are
now filled, namely RTS setting (second patch) and correct calculation
of baud rate predivisors, divisors etc. for any given input clock
(third patch). Initial version implicitly assumed input clock to be
always 24MHz and predivisor to be /2 (which holds for current chips,
but doesn't need to hold in general).

Thirdly, polled console functions are now implemented (fourth patch)
to support KGDB over VT8500 UART.

These changes have been tested on a WonderMedia WM8880 netbook (all),
and on a VIA Springboard (WM8950) (all except KGDB).

Greg, could you please merge these for -next, if they look fine?

Thanks a lot,
Alexey

Alexey Charkov (4):
  tty: vt8500_serial: add support for UART in WM8880 chips
  tty: vt8500_serial: add missing support for RTS setting
  tty: vt8500_serial: explicitly calculate base baud rate
  tty: vt8500_serial: add polled console functions

 .../devicetree/bindings/serial/via,vt8500-uart.txt |  17 ---
 .../devicetree/bindings/serial/vt8500-uart.txt     |   3 +-
 drivers/tty/serial/vt8500_serial.c                 | 136 ++++++++++++++++++---
 3 files changed, 118 insertions(+), 38 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/serial/via,vt8500-uart.txt

-- 
2.0.0

             reply	other threads:[~2014-09-06 17:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-06 17:21 Alexey Charkov [this message]
2014-09-06 17:21 ` [PATCH 1/4] tty: vt8500_serial: add support for UART in WM8880 chips Alexey Charkov
2014-09-06 17:21 ` [PATCH 2/4] tty: vt8500_serial: add missing support for RTS setting Alexey Charkov
2014-09-06 17:21 ` [PATCH 3/4] tty: vt8500_serial: explicitly calculate base baud rate Alexey Charkov
2014-09-06 17:21 ` [PATCH 4/4] tty: vt8500_serial: add polled console functions Alexey Charkov

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=1410024075-1354-1-git-send-email-alchark@gmail.com \
    --to=alchark@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.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).