From patchwork Thu Jun 29 07:34:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Tanure X-Patchwork-Id: 13296680 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 35942EB64D9 for ; Thu, 29 Jun 2023 07:35:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=IJFLyxuw6g6lUKbpZcCi55HxoJnx74L9HbM+Ob4OfZ8=; b=XaumxZjlWfY0jl nhtJrU4kSrFDs8pczTINViIUxL17gU6B/y6WxvDD4Rof5OVQb8pfNW1bYBtF3IRIrDMVSurpa+N+I Uvgx0zrlMI8KGq12BlHsO9C9OXpTXFnVnoGxHMi58SpA/hRtt6P3WgHr1jfTECd6hwSb9Q8HKOSdD VjfZYA2pt8z8ZU3A5CbszGX3BRV35UWeLre771hacudz4G4z8w1EXOaG9Cqbyi0ApMb+tOjiIw017 Gb7XNAEM5OB6AezDT4dLb3ntEbmdOmICFvH8eJSjins9I7+M0o886cDL9nYM0Bb+ZOVMXXIhhS0qT l+dCR/ZCs2WuaN1r31Ww==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qEmAx-000DHK-1Y; Thu, 29 Jun 2023 07:34:47 +0000 Received: from mail-ed1-f46.google.com ([209.85.208.46]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qEmAf-000DAN-0S; Thu, 29 Jun 2023 07:34:30 +0000 Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-51d946d2634so422763a12.3; Thu, 29 Jun 2023 00:34:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688024065; x=1690616065; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=S6T7r24ENI7G0wksSZQkaqpDe3IM+chAS5vheCtgJd8=; b=HhiCdFrG2R5J9rsRLi1nxGDXJKxpX9KspckHRscztDtntM41sPCLm2mq8/92MOtoN9 cfnaGKnD3BUSBh15iMeSoQi7ynZxYDaj+7R0dgfP5mS8Gn2T21CMYpbsFG90yRVNN1MG fzFcZVzP9M7nd+vq8XUzWIrHJGczG0UHmeMkO+Hs4ecCyDxYCiVmML+09BEEIa7vUeme 43861IMAVjXzlyN0T0uqyTklYiaGGWOn3XFd5xQQutcTHqGV1Cxa7jyDkRc7h/RCWuvz 9ok71qgh8creWcURWeHk6sZZgSOz3QfXsSufPypeOXVpywoc2oeSUNkWiu/e3dhztnPe dPaQ== X-Gm-Message-State: ABy/qLaoZ45GiSKm2BSDDdzO82oCiBzd9ma32yRUpB2QQ/CP2Sti3XWV ZJbOfbytmwj2/RBqUBL69Lc= X-Google-Smtp-Source: APBJJlFk8i9NeMAgJv7UPq36pyJkMY0ql2BNqaQJs8WwVB9P4KcwdXVQm0eEZEGpoia2vi3M14jaUA== X-Received: by 2002:aa7:c2d9:0:b0:51d:d5f2:121c with SMTP id m25-20020aa7c2d9000000b0051dd5f2121cmr1291170edp.5.1688024064797; Thu, 29 Jun 2023 00:34:24 -0700 (PDT) Received: from ryzen.lan (cpc87451-finc19-2-0-cust61.4-2.cable.virginm.net. [82.11.51.62]) by smtp.gmail.com with ESMTPSA id be28-20020a0564021a3c00b0051bfb7de166sm5453716edb.39.2023.06.29.00.34.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Jun 2023 00:34:24 -0700 (PDT) From: Lucas Tanure To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Jerome Brunet , Kevin Hilman , Xianwei Zhao Cc: Nick , Artem , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Lucas Tanure Subject: [PATCH v7 3/4] tty: serial: meson: Add a earlycon for the T7 SoC Date: Thu, 29 Jun 2023 08:34:18 +0100 Message-ID: <20230629073419.207886-4-tanure@linux.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230629073419.207886-1-tanure@linux.com> References: <20230629073419.207886-1-tanure@linux.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230629_003429_176365_A53EBD0E X-CRM114-Status: UNSURE ( 8.87 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The new Amlogic T7 SoC does not have a always-on uart, so add OF_EARLYCON_DECLARE for it. Signed-off-by: Lucas Tanure Acked-by: Neil Armstrong --- drivers/tty/serial/meson_uart.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.41.0 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