[PATCH] tty: serial: meson: Add a earlycon for the S4 SoC
Neil Armstrong
neil.armstrong at linaro.org
Mon Aug 28 05:16:44 PDT 2023
Hi,
On 28/08/2023 14:10, Lucas Tanure wrote:
> The new Amlogic S4 SoC does not have a always-on uart, so add
> OF_EARLYCON_DECLARE for it.
>
> Signed-off-by: Lucas Tanure <tanure at linux.com>
> ---
> drivers/tty/serial/meson_uart.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/tty/serial/meson_uart.c b/drivers/tty/serial/meson_uart.c
> index 790d910dafa5..8dfaa260e545 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);
Not sure why you would change both lines, and where's the t7 entry ?
Neil
>
> #define MESON_SERIAL_CONSOLE_PTR(_devname) (&meson_serial_console_##_devname)
> #else
More information about the linux-amlogic
mailing list