1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00

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>
This commit is contained in:
Yu Tu 2022-02-25 15:39:22 +08:00 committed by Greg Kroah-Hartman
parent 19b2ba0baf
commit 5427c352a9

View file

@ -865,6 +865,10 @@ static const struct of_device_id meson_uart_dt_match[] = {
.compatible = "amlogic,meson-gx-uart", .compatible = "amlogic,meson-gx-uart",
.data = (void *)true, .data = (void *)true,
}, },
{
.compatible = "amlogic,meson-s4-uart",
.data = (void *)true,
},
{ /* sentinel */ }, { /* sentinel */ },
}; };
MODULE_DEVICE_TABLE(of, meson_uart_dt_match); MODULE_DEVICE_TABLE(of, meson_uart_dt_match);