[PATCH 0/4] tty: vt8500_serial: Changes for -next
alchark at gmail.com
Sat Sep 6 10:21:11 PDT 2014
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 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
More information about the linux-arm-kernel