Skip to content

tty: vt8500_serial: Changes for -next

Alexey Charkov linux-arm-kernel linux-devicetree linux-serial lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4tty: vt8500_serial: add support for UART in WM8880 chipsDocumentation/devicetree/bindings/serial/via,vt8500-uart.txt Documentation/devicetree/bindings/serial/vt8500-uart.txt drivers/tty/serial/vt8500_serial.c+58 -320 replies
2/4tty: vt8500_serial: add missing support for RTS settingdrivers/tty/serial/vt8500_serial.c+8 -00 replies
3/4tty: vt8500_serial: explicitly calculate base baud ratedrivers/tty/serial/vt8500_serial.c+21 -60 replies
4/4tty: vt8500_serial: add polled console functionsdrivers/tty/serial/vt8500_serial.c+31 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] tty: vt8500_serial: Changes for -next

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
Signature · 1 line
2.0.0