[PATCH 2/2] serial: 8250_omap: Add support for AM654 UART controller

From: Nishanth Menon
Date: Tue Jun 19 2018 - 15:45:08 EST


AM654 uses a UART controller that is compatible (partially) with
existing 8250 UART, however, has a few differences with respect to DMA
support and control paths. Introduce a base definition that allows us
to build up the differences in follow on patches.

Cc: Sekhar Nori <nsekhar@xxxxxx>
Cc: Vignesh R <vigneshr@xxxxxx>
Signed-off-by: Nishanth Menon <nm@xxxxxx>
---

Changes since RFC: Driver change has been split out with corresponding description.

RFC: https://patchwork.kernel.org/patch/10447641/

drivers/tty/serial/8250/8250_omap.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/tty/serial/8250/8250_omap.c b/drivers/tty/serial/8250/8250_omap.c
index 1b337fee07ed..a019286f8bb6 100644
--- a/drivers/tty/serial/8250/8250_omap.c
+++ b/drivers/tty/serial/8250/8250_omap.c
@@ -1115,6 +1115,7 @@ static const u8 am3352_habit = OMAP_DMA_TX_KICK | UART_ERRATA_CLOCK_DISABLE;
static const u8 dra742_habit = UART_ERRATA_CLOCK_DISABLE;

static const struct of_device_id omap8250_dt_ids[] = {
+ { .compatible = "ti,am654-uart" },
{ .compatible = "ti,omap2-uart" },
{ .compatible = "ti,omap3-uart" },
{ .compatible = "ti,omap4-uart", .data = &omap4_habit, },
--
2.15.1