summaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorYu Tu <yu.tu@amlogic.com>2022-02-25 08:39:22 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-26 10:03:21 +0100
commit5427c352a993748846263262e70652216e75b2a5 (patch)
tree8b71342b459ee6fb562f412c93855e083e3cdc45 /drivers/tty
parenttty: serial: meson: The system stuck when you run the stty command on the con... (diff)
downloadlinux-5427c352a993748846263262e70652216e75b2a5.tar.xz
linux-5427c352a993748846263262e70652216e75b2a5.zip
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);