From: Lucas Tanure Date: Mon, 14 Aug 2023 08:01:28 +0000 (+0100) Subject: tty: serial: meson: Add a earlycon for the T7 SoC X-Git-Tag: v6.6.17~4037^2~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6a4197f9763325043abf7690a21124a9facbf52e;p=platform%2Fkernel%2Flinux-rpi.git tty: serial: meson: Add a earlycon for the T7 SoC The new Amlogic T7 SoC does not have a always-on uart, so add OF_EARLYCON_DECLARE for it. Signed-off-by: Lucas Tanure Acked-by: Neil Armstrong Link: https://lore.kernel.org/r/20230814080128.143613-2-tanure@linux.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/meson_uart.c b/drivers/tty/serial/meson_uart.c index 790d910..c4f61d8 100644 --- a/drivers/tty/serial/meson_uart.c +++ b/drivers/tty/serial/meson_uart.c @@ -648,6 +648,8 @@ meson_serial_early_console_setup(struct earlycon_device *device, const char *opt OF_EARLYCON_DECLARE(meson, "amlogic,meson-ao-uart", meson_serial_early_console_setup); +OF_EARLYCON_DECLARE(meson, "amlogic,t7-uart", + meson_serial_early_console_setup); #define MESON_SERIAL_CONSOLE_PTR(_devname) (&meson_serial_console_##_devname) #else