Subject: [PATCH 5/6] tty: serial: meson: Added T7 SOC compatibility

From: Lucas Tanure <[email-masked]>
Date: Thu, 15 Jun 2023 19:29:37 +0100

Make UART driver compatible with T7 SOC UART.

Signed-off-by: Lucas Tanure <[email-masked]>
---
 drivers/tty/serial/meson_uart.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/tty/serial/meson_uart.c b/drivers/tty/serial/meson_uart.c
index 2501db5a7aaf..0208f9a6ba7e 100644
--- a/drivers/tty/serial/meson_uart.c
+++ b/drivers/tty/serial/meson_uart.c
@@ -796,6 +796,10 @@ static const struct of_device_id meson_uart_dt_match[] = {
 		.compatible = "amlogic,meson-s4-uart",
 		.data = (void *)&meson_g12a_uart_data,
 	},
+	{
+		.compatible = "amlogic,meson-t7-uart",
+		.data = (void *)&meson_g12a_uart_data,
+	},
 	{ /* sentinel */ },
 };
 MODULE_DEVICE_TABLE(of, meson_uart_dt_match);
--
2.41.0

_______________________________________________
linux-arm-kernel mailing list
[email-masked]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel