summaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2017-12-28 08:07:08 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-09 10:49:14 -0500
commitaed3d7012ca79f102bf98cca808c7ff5ceb26c57 (patch)
treeec090880cd69031afab2b083fc550f0c16b73379 /drivers/tty
parent0f646b63a1b2ede7885e45cf6e986128e001f91b (diff)
serial: 8250_ingenic: Add support for the JZ4770 SoC
The JZ4770 SoC's UART is no different from the other JZ SoCs, so this commit simply adds the ingenic,jz4770-uart compatible string. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/8250/8250_ingenic.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/tty/serial/8250/8250_ingenic.c b/drivers/tty/serial/8250/8250_ingenic.c
index 6af84900870e..165b4bb3de93 100644
--- a/drivers/tty/serial/8250/8250_ingenic.c
+++ b/drivers/tty/serial/8250/8250_ingenic.c
@@ -125,6 +125,10 @@ EARLYCON_DECLARE(jz4740_uart, ingenic_early_console_setup);
125OF_EARLYCON_DECLARE(jz4740_uart, "ingenic,jz4740-uart", 125OF_EARLYCON_DECLARE(jz4740_uart, "ingenic,jz4740-uart",
126 ingenic_early_console_setup); 126 ingenic_early_console_setup);
127 127
128EARLYCON_DECLARE(jz4770_uart, ingenic_early_console_setup);
129OF_EARLYCON_DECLARE(jz4770_uart, "ingenic,jz4770-uart",
130 ingenic_early_console_setup);
131
128EARLYCON_DECLARE(jz4775_uart, ingenic_early_console_setup); 132EARLYCON_DECLARE(jz4775_uart, ingenic_early_console_setup);
129OF_EARLYCON_DECLARE(jz4775_uart, "ingenic,jz4775-uart", 133OF_EARLYCON_DECLARE(jz4775_uart, "ingenic,jz4775-uart",
130 ingenic_early_console_setup); 134 ingenic_early_console_setup);
@@ -319,6 +323,7 @@ static const struct ingenic_uart_config jz4780_uart_config = {
319static const struct of_device_id of_match[] = { 323static const struct of_device_id of_match[] = {
320 { .compatible = "ingenic,jz4740-uart", .data = &jz4740_uart_config }, 324 { .compatible = "ingenic,jz4740-uart", .data = &jz4740_uart_config },
321 { .compatible = "ingenic,jz4760-uart", .data = &jz4760_uart_config }, 325 { .compatible = "ingenic,jz4760-uart", .data = &jz4760_uart_config },
326 { .compatible = "ingenic,jz4770-uart", .data = &jz4760_uart_config },
322 { .compatible = "ingenic,jz4775-uart", .data = &jz4760_uart_config }, 327 { .compatible = "ingenic,jz4775-uart", .data = &jz4760_uart_config },
323 { .compatible = "ingenic,jz4780-uart", .data = &jz4780_uart_config }, 328 { .compatible = "ingenic,jz4780-uart", .data = &jz4780_uart_config },
324 { /* sentinel */ } 329 { /* sentinel */ }