From patchwork Tue Jun 27 09:10:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Tanure X-Patchwork-Id: 113333 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8073175vqr; Tue, 27 Jun 2023 02:54:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ554qeN2qayP/ReFDhYMxxfi+wEghoN0z0mdZUV49sS3mAEbbTpQ8mec0SDPaLws2VxllK6 X-Received: by 2002:a17:907:360a:b0:94a:35d1:59a with SMTP id bk10-20020a170907360a00b0094a35d1059amr26527024ejc.14.1687859647988; Tue, 27 Jun 2023 02:54:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687859647; cv=none; d=google.com; s=arc-20160816; b=YUTLXnwBoNP2+U8VCTNOeNkZn6XaNf2YIhJ7qlO/YF24WmG6d79/ZS+0Kk9DyFKIM3 2rHUS2ih27Fb36fw5UyP/wgmOh23K6+KKlY6GYwGQCQyExtKlz5AHik85NWMsgkhiU5B 4ntGRi636S1K2mWXmgSZjoFRIcVVljVl+TJXarLmcGRuDf//tsMVK63bq0tp8RpZEymd t/xCXtBD4dn0rN/o72iTpnUDeiBVcI3Y0KXVNOnro03amBn+IEEqHTRXbIe4vQK2gTws 7WPDjLJQehr96CUkqEiyLl6K7RTTqxyZ2OrQoL1fAMVT7qhXYvd7AgcTAHz3LlB2V5qZ heQA== 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=L4zAJ9Fvhu5nWIa1wd1+G4v+5opDCU+KXPZNXrryFuI=; fh=Y0tFq8WLSLg0WB9dwKe3wnpCs24nrUR8WkgYZffPeno=; b=SbksB+lvSvppBqwpWIGgnPATvq44vJrEX6sHgyFQsnWhfuYuudeOQ/m/kSJfzY6XqX gtJY6hjKxGAVubFI7vLC+XUYhRPL9TyfHd/Ul4yb/R50W4BV7kdza1Gm/31Onxu6oz80 ed+vyKP+AETAjs1PMPP9sAVFkMWnQ897zcwRYsx/AsZ5oXVbSKWGrGM5z5u+t9dRaBSM ry37l2VrMzT8R3A5cQ/7dDkK/d2Ye03WhDWxV84IGaZ0Q+7e4uE0vxK/iMrjykCi4ydR 1tTNWHARpcpxrDQ88hNgLdX4p+0mMWIXfao+RTxX4OsPx4CPDAN5kz/fmQLoCgPtZUnc OK0A== 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 p8-20020a170906b20800b00991f8bce3cbsi1287294ejz.722.2023.06.27.02.53.44; Tue, 27 Jun 2023 02:54:07 -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 S231841AbjF0JKf (ORCPT + 99 others); Tue, 27 Jun 2023 05:10:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231672AbjF0JK0 (ORCPT ); Tue, 27 Jun 2023 05:10:26 -0400 Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5E7919AE; Tue, 27 Jun 2023 02:10:15 -0700 (PDT) Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-312863a983fso4811800f8f.2; Tue, 27 Jun 2023 02:10:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687857014; x=1690449014; 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=L4zAJ9Fvhu5nWIa1wd1+G4v+5opDCU+KXPZNXrryFuI=; b=URY9rqD959L4eJQv/oej3IZF4wRbYHqJBFqgWIPNq2dAlnle2TC7TvAQ/77vfkSYUo JoqchEayrCkmDo/YJFlp3gZECVBLGtmP/Dx4sHTGOeqPjyHg5dfjn6+Eb5W45umbuaHA d3Nkb+UXPie1nI6yhg80/AoKs/7dvAB1HWR0Xt+fFFGoLiMVpEsLtsCTQvEW9RD1JJRX NawKRE1u9udLCXNmasBqiWZCBo4TimEnv7Hk9XP1k/kbz8zeutUvJt4mQARWT02cCoIo U5+ooJyiNVO3hwJlBVGY8zDB8HzPZnCQRoxGPYwtGl1UvFfoNPrtvGCAAJrpEz9+JJg1 7/dA== X-Gm-Message-State: AC+VfDwzzC8hVvP7UWoxlz+m8MvF93sHMpvddtP9KtBbNz8SnSp07w6b s+YkEFuH9D9pcG1RFr3ACwk= X-Received: by 2002:a5d:63cd:0:b0:2f0:2dfe:e903 with SMTP id c13-20020a5d63cd000000b002f02dfee903mr21368230wrw.69.1687857013952; Tue, 27 Jun 2023 02:10:13 -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 c15-20020adffb4f000000b00313e4d02be8sm8880122wrs.55.2023.06.27.02.10.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Jun 2023 02:10:13 -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 v6 3/4] tty: serial: meson: Add a earlycon for the T7 SoC Date: Tue, 27 Jun 2023 10:10:06 +0100 Message-ID: <20230627091007.190958-4-tanure@linux.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230627091007.190958-1-tanure@linux.com> References: <20230627091007.190958-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?1769848439529679216?= X-GMAIL-MSGID: =?utf-8?q?1769849117878855744?= 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(+) 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