[v7,3/4] tty: serial: meson: Add a earlycon for the T7 SoC

Message ID 20230629073419.207886-4-tanure@linux.com
State New
Headers
Series Add Amlogic A311D2 and Khadas Vim4 Board Support |

Commit Message

Lucas Tanure June 29, 2023, 7:34 a.m. UTC
  The new Amlogic T7 SoC does not have a always-on uart,
so add OF_EARLYCON_DECLARE for it.

Signed-off-by: Lucas Tanure <tanure@linux.com>
Acked-by: Neil Armstrong <neil.armstrong@linaro.org>
---
 drivers/tty/serial/meson_uart.c | 2 ++
 1 file changed, 2 insertions(+)

--
2.41.0
  

Comments

Rob Herring Aug. 11, 2023, 3:33 p.m. UTC | #1
On Thu, Jun 29, 2023 at 1:34 AM Lucas Tanure <tanure@linux.com> wrote:
>
> The new Amlogic T7 SoC does not have a always-on uart,
> so add OF_EARLYCON_DECLARE for it.
>
> Signed-off-by: Lucas Tanure <tanure@linux.com>
> Acked-by: Neil Armstrong <neil.armstrong@linaro.org>
> ---
>  drivers/tty/serial/meson_uart.c | 2 ++
>  1 file changed, 2 insertions(+)

These 2 serial patches will probably never be applied if you don't
send this to Greg and linux-serial. IOW, use get_maintainers.pl for
your patches.

Rob
  
Lucas Tanure Aug. 14, 2023, 8:04 a.m. UTC | #2
On Fri, Aug 11, 2023 at 4:34 PM Rob Herring <robh+dt@kernel.org> wrote:
>
> On Thu, Jun 29, 2023 at 1:34 AM Lucas Tanure <tanure@linux.com> wrote:
> >
> > The new Amlogic T7 SoC does not have a always-on uart,
> > so add OF_EARLYCON_DECLARE for it.
> >
> > Signed-off-by: Lucas Tanure <tanure@linux.com>
> > Acked-by: Neil Armstrong <neil.armstrong@linaro.org>
> > ---
> >  drivers/tty/serial/meson_uart.c | 2 ++
> >  1 file changed, 2 insertions(+)
>
> These 2 serial patches will probably never be applied if you don't
> send this to Greg and linux-serial. IOW, use get_maintainers.pl for
> your patches.
>
> Rob
Thanks, I didn't see that issue.
I just re-sent ad v9.
  

Patch

diff --git a/drivers/tty/serial/meson_uart.c b/drivers/tty/serial/meson_uart.c
index 2501db5a7aaf..c24e105a98c5 100644
--- a/drivers/tty/serial/meson_uart.c
+++ b/drivers/tty/serial/meson_uart.c
@@ -649,6 +649,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	(&meson_serial_console)
 #else