tty: vt8500_serial: Changes for -next
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | tty: vt8500_serial: add support for UART in WM8880 chipsDocumentation/ Documentation/ drivers/ | +58 | 0 replies | |
| 2/4 | tty: vt8500_serial: add missing support for RTS settingdrivers/ | +8 | 0 replies | |
| 3/4 | tty: vt8500_serial: explicitly calculate base baud ratedrivers/ | +21 | 0 replies | |
| 4/4 | tty: vt8500_serial: add polled console functionsdrivers/ | +31 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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