From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Rosen Penev <rosenp@gmail.com>
Cc: linux-serial@vger.kernel.org, Jiri Slaby <jirislaby@kernel.org>,
"open list:TTY LAYER AND SERIAL DRIVERS"
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] serial: 8250: Add Armada 38x earlycon support
Date: Wed, 23 Sep 2026 14:22:40 +0200 [thread overview]
Message-ID: <2026092326-python-dugout-7b05@gregkh> (raw)
In-Reply-To: <20260902221709.340393-1-rosenp@gmail.com>
On Wed, Sep 02, 2026 at 03:17:09PM -0700, Rosen Penev wrote:
> Register the Armada 38x UART compatible with the built-in 8250
> earlycon implementation so stdout-path can enable an early console
> without adding a generic ns16550a compatible to the device tree.
>
> Keeping the vendor-specific compatible avoids exposing the UART to the
> generic OF 8250 runtime driver while preserving the DesignWare driver
> Armada-specific runtime handling.
>
> Assisted-by: Codex:GPT-5
> Signed-off-by: Rosen Penev <rosenp@gmail.com>
> ---
> drivers/tty/serial/8250/8250_early.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/tty/serial/8250/8250_early.c b/drivers/tty/serial/8250/8250_early.c
> index 44ec209f37c4..265d49850e15 100644
> --- a/drivers/tty/serial/8250/8250_early.c
> +++ b/drivers/tty/serial/8250/8250_early.c
> @@ -175,6 +175,7 @@ EARLYCON_DECLARE(uart8250, early_serial8250_setup);
> EARLYCON_DECLARE(uart, early_serial8250_setup);
> OF_EARLYCON_DECLARE(ns16550, "ns16550", early_serial8250_setup);
> OF_EARLYCON_DECLARE(ns16550a, "ns16550a", early_serial8250_setup);
> +OF_EARLYCON_DECLARE(uart, "marvell,armada-38x-uart", early_serial8250_setup);
> OF_EARLYCON_DECLARE(uart, "nvidia,tegra20-uart", early_serial8250_setup);
> OF_EARLYCON_DECLARE(uart, "snps,dw-apb-uart", early_serial8250_setup);
>
> --
> 2.55.0
>
How was this tested?
thanks,
greg k-h
next prev parent reply other threads:[~2026-09-23 12:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-02 22:17 Rosen Penev
2026-09-23 12:22 ` Greg Kroah-Hartman [this message]
2026-09-23 18:33 ` Rosen Penev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2026092326-python-dugout-7b05@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=jirislaby@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=rosenp@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®