Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Lucas Tanure and committed by
Greg Kroah-Hartman
3047b5b5 cfb5e0ce

+2 -2
+2 -2
drivers/tty/serial/meson_uart.c
··· 646 646 return 0; 647 647 } 648 648 649 - OF_EARLYCON_DECLARE(meson, "amlogic,meson-ao-uart", 650 - meson_serial_early_console_setup); 649 + OF_EARLYCON_DECLARE(meson, "amlogic,meson-ao-uart", meson_serial_early_console_setup); 650 + OF_EARLYCON_DECLARE(meson, "amlogic,meson-s4-uart", meson_serial_early_console_setup); 651 651 652 652 #define MESON_SERIAL_CONSOLE_PTR(_devname) (&meson_serial_console_##_devname) 653 653 #else