From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH 11/14] serial: i.MX: Add i.MX8 support
Date: Mon, 19 Mar 2018 10:11:43 +0100 [thread overview]
Message-ID: <20180319091146.4112-12-s.hauer@pengutronix.de> (raw)
In-Reply-To: <20180319091146.4112-1-s.hauer@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
drivers/serial/serial_imx.c | 5 ++++-
include/serial/imx-uart.h | 5 +++++
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/drivers/serial/serial_imx.c b/drivers/serial/serial_imx.c
index e8c3836a66..49fb5e8340 100644
--- a/drivers/serial/serial_imx.c
+++ b/drivers/serial/serial_imx.c
@@ -290,9 +290,12 @@ static __maybe_unused struct of_device_id imx_serial_dt_ids[] = {
}, {
.compatible = "fsl,imx6ul-uart",
.data = &imx21_data,
- }, {
+ }, {
.compatible = "fsl,imx7d-uart",
.data = &imx21_data,
+ }, {
+ .compatible = "fsl,imx8mq-uart",
+ .data = &imx21_data,
}, {
/* sentinel */
}
diff --git a/include/serial/imx-uart.h b/include/serial/imx-uart.h
index 9cab32f359..c23606569d 100644
--- a/include/serial/imx-uart.h
+++ b/include/serial/imx-uart.h
@@ -180,6 +180,11 @@ static inline void imx7_uart_setup(void __iomem *uartbase)
imx_uart_setup(uartbase, 24000000);
}
+static inline void imx8mq_uart_setup(void __iomem *uartbase)
+{
+ imx_uart_setup(uartbase, 25000000);
+}
+
static inline void imx_uart_putc(void *base, int c)
{
if (!(readl(base + UCR1) & UCR1_UARTEN))
--
2.16.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2018-03-19 9:12 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-19 9:11 [PATCH 00/14] ARM: i.MX8MQ and EVK support Sascha Hauer
2018-03-19 9:11 ` [PATCH 01/14] ARM: i.MX: xload: Fix compiler warning Sascha Hauer
2018-03-19 9:11 ` [PATCH 02/14] ARM: i.MX: compile arm32 specific errata only for CPU32 Sascha Hauer
2018-03-19 9:11 ` [PATCH 03/14] ARM: Add i.MX8 support Sascha Hauer
2018-03-19 9:11 ` [PATCH 04/14] aarch64: Add i.MX8 debug UART support Sascha Hauer
2018-03-19 9:11 ` [PATCH 05/14] Include our own include/dt-bindings Sascha Hauer
2018-03-19 9:11 ` [PATCH 06/14] ARM: i.MX8: Add i.MX8mq EVK support Sascha Hauer
2018-03-19 9:11 ` [PATCH 07/14] mci: imx-esdhc: use dma mapping functions Sascha Hauer
2018-03-19 9:11 ` [PATCH 08/14] net: fec_imx: remove unnecessary DMA sync ops Sascha Hauer
2018-03-19 9:11 ` [PATCH 09/14] net: fec_imx: Use dma mapping functions Sascha Hauer
2018-03-19 9:11 ` [PATCH 10/14] clock: Add i.MX8MQ clock driver Sascha Hauer
2018-03-19 9:11 ` Sascha Hauer [this message]
2018-03-19 9:11 ` [PATCH 12/14] mmc: i.MX esdhc: Add i.MX8 support Sascha Hauer
2018-03-19 9:11 ` [PATCH 13/14] gpio: i.MX: Add i.MX8mq support Sascha Hauer
2018-03-19 9:11 ` [PATCH 14/14] ARM: i.MX: ocotp: Add i.MX8MQ support Sascha Hauer
2018-03-21 5:41 ` [PATCH 00/14] ARM: i.MX8MQ and EVK support Andrey Smirnov
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=20180319091146.4112-12-s.hauer@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
/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