diff options
author | Paul Cercueil <paul@crapouillou.net> | 2017-12-28 08:07:08 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-09 10:49:14 -0500 |
commit | aed3d7012ca79f102bf98cca808c7ff5ceb26c57 (patch) | |
tree | ec090880cd69031afab2b083fc550f0c16b73379 /drivers/tty | |
parent | 0f646b63a1b2ede7885e45cf6e986128e001f91b (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.c | 5 |
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); | |||
125 | OF_EARLYCON_DECLARE(jz4740_uart, "ingenic,jz4740-uart", | 125 | OF_EARLYCON_DECLARE(jz4740_uart, "ingenic,jz4740-uart", |
126 | ingenic_early_console_setup); | 126 | ingenic_early_console_setup); |
127 | 127 | ||
128 | EARLYCON_DECLARE(jz4770_uart, ingenic_early_console_setup); | ||
129 | OF_EARLYCON_DECLARE(jz4770_uart, "ingenic,jz4770-uart", | ||
130 | ingenic_early_console_setup); | ||
131 | |||
128 | EARLYCON_DECLARE(jz4775_uart, ingenic_early_console_setup); | 132 | EARLYCON_DECLARE(jz4775_uart, ingenic_early_console_setup); |
129 | OF_EARLYCON_DECLARE(jz4775_uart, "ingenic,jz4775-uart", | 133 | OF_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 = { | |||
319 | static const struct of_device_id of_match[] = { | 323 | static 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 */ } |