tty: serial: meson: Added S4 SOC compatibility
authorYu Tu <yu.tu@amlogic.com>
Fri, 25 Feb 2022 07:39:22 +0000 (15:39 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Feb 2022 09:03:21 +0000 (10:03 +0100)
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>
drivers/tty/serial/meson_uart.c

index d19349e..bf6be54 100644 (file)
@@ -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);