lkml.org 
[lkml]   [2014]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v5 0/2] DTS: serial: Add bindings documention for the Mediatek UARTs
Date
This patch set adds support for the UART found in Mediatek SoCs.
The chip is a changed version of a 8250 controller.
Especially it introduces a new register called highspeed. The value
in this register has to be set depending on the baudrate. The value
in the register influences the way the divisor has to be calculated.

The patch series is build against linux-next and tested on mt6589. Should
work as well on mt6577 and mt6582.

Thanks,
Matthias

Changes for v5:
- specify all SoC compatible strings in Documentation
- rename clock
- rebase against linux-next

Changes for v4:
- delete owner in platform driver instance
- pass plattform_device to mtk8250_probe_of
- reorganise probe function to error out early
- Fix DTS documentation

Changes for v3:
- use dev_warn instead of pr_warn
- use 8250_core function to update termios

Changes for v2:
- drop 8250_core capability extension for the chip
- encapsulate set_termios in the driver method

---

Matthias Brugger (2):
tty: serial: 8250: Add Mediatek UART driver
DTS: serial: Add bindings documention for the Mediatek UARTs

.../devicetree/bindings/serial/mtk-uart.txt | 22 ++
drivers/tty/serial/8250/8250_mtk.c | 294 +++++++++++++++++++++
drivers/tty/serial/8250/Kconfig | 6 +
drivers/tty/serial/8250/Makefile | 1 +
4 files changed, 323 insertions(+)
create mode 100644 Documentation/devicetree/bindings/serial/mtk-uart.txt
create mode 100644 drivers/tty/serial/8250/8250_mtk.c

--
1.9.1



\
 
 \ /
  Last update: 2014-09-09 18:01    [W:0.042 / U:0.616 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site