From patchwork Fri Jun 23 08:12:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Tanure X-Patchwork-Id: 13290131 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 1327BC001B0 for ; Fri, 23 Jun 2023 08:13: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=uBN6gO6bZDfmcdvynHzrGYHNLuwrLKd4hQs+c8zPAvA=; b=jyG0zfOzgdO6Hc f5K/wC9bwMSoggUoYIJS1UoKEitYhTyTkhQJT/kbXwKBHD6hobDq8JeO7Ob0U2TSUAy+K7IgFvVwd s9Gli6WfBFazbWFgp+idZw9tKS+McZZgEmSMAVH9Z9wtibC+10I7DorTXamj9x+iK/gPBJI1jQUFe zn1Dit2vLJ3BqXtNZnFLM+ejQ/lWI+pKro93YGx5+KvEsFm7YEyHLmNsBaCVu3SUKGPl6GHls5wH+ e3neAmqKA4rIXj198ctMx2rwzCFDNEeqsnpXvhWJpCt59zLHufdgCcZLp+/dU2cRi7zWNKE1U9+wf ETgvm58gx7Z7rNvRgXwg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qCbuW-002t5M-2T; Fri, 23 Jun 2023 08:12:52 +0000 Received: from mail-lf1-f50.google.com ([209.85.167.50]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qCbuT-002t2d-0o; Fri, 23 Jun 2023 08:12:50 +0000 Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-4f95bf5c493so331175e87.3; Fri, 23 Jun 2023 01:12:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687507967; x=1690099967; 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=upg0hHPusTHNHHtpH4yxVwhsX5Py4GST1osQ8SxWcwo=; b=Qq0eo0bm2zbtJiUJaFBRtW4YULw/LXk8inXwVznJUcrENSJ51EbAd2avr+xlAK0Wia Sz9UMvHq68A7ZpbGQPk8cIRYUXYjBGrjvyNbLhBRtRALT1cADv2oj6gdWPeTgsJ3hIqt 8fkJgJ25PfPpmcGmFx+hkGidxllbsgqPUe+ps6pnuUPImp2Dhf7UW662F8MbcV4Ggibd E429vSr9y/0/LiTgfTXXe5gicmxPuHxP/bxEBP/vla/mr6JSvF0AdJoFF6xfvKlIuzr/ ay/7HMZU00OyAOa3rNtdPWVfdpAADSxnGxahmlQUGohP7d/ZDHm34CvD+U6fauxWISOT RxLA== X-Gm-Message-State: AC+VfDwxGIqb2n0/NP9zUpqlqytQtaqMzZK/qcojxAKNA9q38xDa/As6 UaoJRlcdCTj2kQxieUqTOJY= X-Google-Smtp-Source: ACHHUZ5e7jJXR6du4xziaPnDR4mPvThK3pjT/SA1z9xUsBWSRcruANHFzNte7v3kqfjF7i3BLtOuwQ== X-Received: by 2002:a19:7912:0:b0:4f4:dfd4:33e4 with SMTP id u18-20020a197912000000b004f4dfd433e4mr11028306lfc.51.1687507967132; Fri, 23 Jun 2023 01:12:47 -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 l21-20020a7bc455000000b003f9b29ba838sm1594141wmi.35.2023.06.23.01.12.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Jun 2023 01:12:46 -0700 (PDT) From: Lucas Tanure To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Jerome Brunet , Kevin Hilman 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 v5 3/4] tty: serial: meson: Add a earlycon for the T7 SoC Date: Fri, 23 Jun 2023 09:12:41 +0100 Message-ID: <20230623081242.109131-4-tanure@linux.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230623081242.109131-1-tanure@linux.com> References: <20230623081242.109131-1-tanure@linux.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230623_011249_284368_67FE40B7 X-CRM114-Status: UNSURE ( 8.73 ) 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 Meson 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(+) diff --git a/drivers/tty/serial/meson_uart.c b/drivers/tty/serial/meson_uart.c index 2501db5a7aaf..84d33903038a 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,meson-t7-uart", + meson_serial_early_console_setup); #define MESON_SERIAL_CONSOLE (&meson_serial_console) #else