summaryrefslogtreecommitdiff
path: root/drivers/tty
diff options
context:
space:
mode:
authorYu Tu <yu.tu@amlogic.com>2022-02-25 10:39:22 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-26 12:03:21 +0300
commit5427c352a993748846263262e70652216e75b2a5 (patch)
tree8b71342b459ee6fb562f412c93855e083e3cdc45 /drivers/tty
parent19b2ba0baffcd707eecd718da4941e74af341e4f (diff)
downloadlinux-5427c352a993748846263262e70652216e75b2a5.tar.xz
tty: serial: meson: Added S4 SOC compatibility
Make UART driver compatible with S4 SOC UART. Signed-off-by: Yu Tu <yu.tu@amlogic.com> Link: https://lore.kernel.org/r/20220225073922.3947-7-yu.tu@amlogic.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-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);