aboutsummaryrefslogtreecommitdiff
path: root/drivers/tty
diff options
context:
space:
mode:
authorGravatar Lucas Tanure <tanure@linux.com> 2023-10-09 13:11:51 +0100
committerGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2023-10-10 08:50:49 +0200
commit3047b5b53c36c2cb7874d3823320ffff6a8bf6b3 (patch)
treec01e5d1936e4001e1596d34d5fa1522e9bc6fde2 /drivers/tty
parentserial: initialize retinfo in uart_get_info() (diff)
downloadlinux-3047b5b53c36c2cb7874d3823320ffff6a8bf6b3.tar.gz
linux-3047b5b53c36c2cb7874d3823320ffff6a8bf6b3.tar.bz2
linux-3047b5b53c36c2cb7874d3823320ffff6a8bf6b3.zip
tty: serial: meson: Add a earlycon for the S4 SoC
The new Amlogic S4 SoC does not have a always-on uart, so add OF_EARLYCON_DECLARE for it. Amlogic T7 will use this as fallback. Signed-off-by: Lucas Tanure <tanure@linux.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://lore.kernel.org/r/20231009121151.4509-1-tanure@linux.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, 2 insertions, 2 deletions
diff --git a/drivers/tty/serial/meson_uart.c b/drivers/tty/serial/meson_uart.c
index 45cc23e9e399..de298bf75d9b 100644
--- a/drivers/tty/serial/meson_uart.c
+++ b/drivers/tty/serial/meson_uart.c
@@ -646,8 +646,8 @@ meson_serial_early_console_setup(struct earlycon_device *device, const char *opt
return 0;
}
-OF_EARLYCON_DECLARE(meson, "amlogic,meson-ao-uart",
- meson_serial_early_console_setup);
+OF_EARLYCON_DECLARE(meson, "amlogic,meson-ao-uart", meson_serial_early_console_setup);
+OF_EARLYCON_DECLARE(meson, "amlogic,meson-s4-uart", meson_serial_early_console_setup);
#define MESON_SERIAL_CONSOLE_PTR(_devname) (&meson_serial_console_##_devname)
#else