From: Matthias Brugger <matthias.bgg@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com,
ijc+devicetree@hellion.org.uk, galak@codeaurora.org,
rdunlap@infradead.org, gregkh@linuxfoundation.org,
jslaby@suse.cz, grant.likely@linaro.org, matthias.bgg@gmail.com,
alan@linux.intel.com, varkabhadram@gmail.com, heiko@sntech.de,
yingjoe.chen@gmail.com, devicetree@vger.kernel.org,
linux-doc@vger.kernel.org, linux-serial@vger.kernel.org
Subject: [PATCH v3 0/2] tty: serial: Add mediatek UART driver
Date: Fri, 8 Aug 2014 13:32:02 +0200 [thread overview]
Message-ID: <1407497524-26535-1-git-send-email-matthias.bgg@gmail.com> (raw)
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 v3.16-rc1 and tested on mt6589. Should
work as well on mt6577 and mt6582.
Thanks,
Matthias
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 | 19 ++
drivers/tty/serial/8250/8250_mtk.c | 296 ++++++++++++++++++++
drivers/tty/serial/8250/Kconfig | 7 +
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.7.9.5
next reply other threads:[~2014-08-08 11:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-08 11:32 Matthias Brugger [this message]
2014-08-08 11:32 ` [PATCH v3 1/2] tty: serial: 8250: Add Mediatek UART driver Matthias Brugger
2014-08-08 12:25 ` Varka Bhadram
2014-08-08 12:28 ` Tobias Klauser
[not found] ` <20140808122820.GF29832-93Khv+1bN0NyDzI6CaY1VQ@public.gmane.org>
2014-08-12 13:31 ` Matthias Brugger
2014-08-12 13:57 ` Tobias Klauser
2014-08-08 11:32 ` [PATCH v3 2/2] DTS: serial: Add bindings documention for the Mediatek UARTs Matthias Brugger
2014-08-08 11:34 ` Varka Bhadram
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=1407497524-26535-1-git-send-email-matthias.bgg@gmail.com \
--to=matthias.bgg@gmail.com \
--cc=alan@linux.intel.com \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=grant.likely@linaro.org \
--cc=gregkh@linuxfoundation.org \
--cc=heiko@sntech.de \
--cc=ijc+devicetree@hellion.org.uk \
--cc=jslaby@suse.cz \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=rdunlap@infradead.org \
--cc=robh+dt@kernel.org \
--cc=varkabhadram@gmail.com \
--cc=yingjoe.chen@gmail.com \
/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).