[PATCH V5 5/5] tty: serial: meson: Added S4 SOC compatibility.

From: Yu Tu
Date: Mon Jan 10 2022 - 05:45:28 EST


Make UART driver compatible with S4 SOC UART.

Signed-off-by: Yu Tu <yu.tu@xxxxxxxxxxx>
---
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 fd128878e91a..d6aa04cc31ba 100644
--- a/drivers/tty/serial/meson_uart.c
+++ b/drivers/tty/serial/meson_uart.c
@@ -863,6 +863,10 @@ static const struct of_device_id meson_uart_dt_match[] = {
.compatible = "amlogic,meson-g12a-uart",
.data = (void *)true,
},
+ {
+ .compatible = "amlogic,meson-s4-uart",
+ .data = (void *)true,
+ },
/*
* deprecated, don't use anymore because it doesn't differentiate
* between GXBB, GXL and G12A which have different revisions
--
2.33.1