Commit 6a4197f9 authored by Lucas Tanure's avatar Lucas Tanure Committed by Greg Kroah-Hartman
Browse files

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: default avatarLucas Tanure <tanure@linux.com>
Acked-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230814080128.143613-2-tanure@linux.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 153fece7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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