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: 114193 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp9468074vqr; Thu, 29 Jun 2023 00:58:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5/H4ofOGPVRjae6LaSUTr4pFMl8es7KYfhJ/5DrvM7rkn3+b0KSD/rZ7Q6IYh2/xXao1pU X-Received: by 2002:a17:902:f691:b0:1af:adc2:ab5b with SMTP id l17-20020a170902f69100b001afadc2ab5bmr44863627plg.0.1688025526767; Thu, 29 Jun 2023 00:58:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688025526; cv=none; d=google.com; s=arc-20160816; b=cegi3gr9PicMXkONt7Yaw79d5lecD2BgDCtL6J0qDIG0dlyZ38pwZC1U0Naiqf8iu/ r9Dr7Hg8FTebG7butDUd4O5frEVjG9DolXsbnt498Z3sXsM5x/OHoNgGq8WYPKOXMYxb TQbSt5HlA8e9+HXcpX4UMoBeaNewUlO/NYYfUIwP2k5Sr5qnrg/0fFesMxkIBhf7fAG4 +ic81fUlTny6LV1Xh7AHPGxXKK09efB8Mjjp9oVL5PiqUjaKxWJeMaVmI8JVWlO6gM4Z IuIVeSJDcTPw+JVT4N194OGkLX4IMuAxICXw19RhjkFzCQNS1JLGrZxQm+Kb5baC7jFr 8bnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=S6T7r24ENI7G0wksSZQkaqpDe3IM+chAS5vheCtgJd8=; fh=Y0tFq8WLSLg0WB9dwKe3wnpCs24nrUR8WkgYZffPeno=; b=J9Ro5gq/87DzHhk67xaAM6EN6KmkeQEyca7CayhwfHBOJoE6OnILLnnek68q1S1fZY /P/4Zms4mQe2cb0IqIlKlUHjh3ZrsGNLuT1SXwOlfESYrGCMTfY2Ag3KWR95hNXQa+iY /vLzbJwcx4sPcyrg4HdfG95WOFMKgd9DYK4YnOHdDyqDgTl2/EJ4O4xrgR7BK3xjkqml Cea0+B2Dh3072IkFNB523b2++9XxywUsIDWjnuzf0Aa9T5S0WATQwNNgpuRgH7Lc0fNG oEm1sAvGXVRkYAGYyvp+3SVp5+sqoskVVIOVJ0WtjWsM14O2xZoFcyu0fink/z263Zgi rr8A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t19-20020a63dd13000000b0051423af249fsi10548318pgg.304.2023.06.29.00.58.32; Thu, 29 Jun 2023 00:58:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232322AbjF2HfT (ORCPT + 99 others); Thu, 29 Jun 2023 03:35:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232302AbjF2He1 (ORCPT ); Thu, 29 Jun 2023 03:34:27 -0400 Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5102935B6; Thu, 29 Jun 2023 00:34:26 -0700 (PDT) Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-51d946d2634so422764a12.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=M7/vyQ9o8V2hXekjQCQ2oyjvLFUp1l223pq4TUt6wn3xF5qp13pj70BzYrEfSpTwKL rs5vnb6Tr2W8y5+2g2OayC3/5MpjH/3pYr2KMqzfhYtuvKRIp+4XGWyiu3z88awuF7Zc mVUmEbajeXwo0gV5XIN7wnnFNS3eZ5EchU82YzVAPnjC1UW0DoSVXtf1skDuXoqvDJJY vlgzf6LTFTkoh0UZmfa1ChUMKe1cyFS8XRvO5Tc9vK03Si2K2fQXVKvXeOIqBq4v3Ncc PrjTkKTXm1xz+pByhOdaeGE9sPy/mYvX5gYW0TKDeA6V6IVY0M4S7SkyIj2vWHWbfSV+ 17+A== X-Gm-Message-State: ABy/qLaLqfKuHBiiCLBOs2O86wBMOgCRVEaAaQtFApFzVHA04Zc8DEGs QVj/NEPQvVLbzkwbaYhtH9U= 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-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770023054341149285?= X-GMAIL-MSGID: =?utf-8?q?1770023054341149285?= 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