aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Tu <[email protected]>2022-02-25 15:39:22 +0800
committerGreg Kroah-Hartman <[email protected]>2022-02-26 10:03:21 +0100
commit5427c352a993748846263262e70652216e75b2a5 (patch)
tree8b71342b459ee6fb562f412c93855e083e3cdc45
parent19b2ba0baffcd707eecd718da4941e74af341e4f (diff)
tty: serial: meson: Added S4 SOC compatibility
Make UART driver compatible with S4 SOC UART. Signed-off-by: Yu Tu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/tty/serial/meson_uart.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/tty/serial/meson_uart.c b/drivers/tty/serial/meson_uart.c
index d19349ead738..bf6be5468aaf 100644
--- a/drivers/tty/serial/meson_uart.c
+++ b/drivers/tty/serial/meson_uart.c
@@ -865,6 +865,10 @@ static const struct of_device_id meson_uart_dt_match[] = {
.compatible = "amlogic,meson-gx-uart",
.data = (void *)true,
},
+ {
+ .compatible = "amlogic,meson-s4-uart",
+ .data = (void *)true,
+ },
{ /* sentinel */ },
};
MODULE_DEVICE_TABLE(of, meson_uart_dt_match);