From patchwork Wed Mar 11 11:21:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chunyan Zhang X-Patchwork-Id: 11431397 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AB51E14B7 for ; Wed, 11 Mar 2020 11:21:47 +0000 (UTC) Received: by mail.kernel.org (Postfix) id A663521655; Wed, 11 Mar 2020 11:21:47 +0000 (UTC) Delivered-To: soc@kernel.org Received: from mail-pg1-f195.google.com (mail-pg1-f195.google.com [209.85.215.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 738DB20848; Wed, 11 Mar 2020 11:21:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nMyvOyKn" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 738DB20848 Authentication-Results: mail.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=zhang.lyra@gmail.com Received: by mail-pg1-f195.google.com with SMTP id t3so1043731pgn.1; Wed, 11 Mar 2020 04:21:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZLOM3TZpFx1G0FHmz3svWf38OoZ6qU4SfqgmqviPrrA=; b=nMyvOyKn06Eu05BjFvjKHdDoGwU5OqfzypV+TNaTCAA6ghis9R4087GZKFVCDp0rD5 /6PkMMMNG/CN2oWPce4JJBu/28jlkGMz/BkV8FjtsuA64I1YuO1hKihDe92A8NLIKNW8 a5lX05gGYB/LQX2RUU35tSazpeA9/dat72/c8m1jm40V3I/7I2+PjsOoLr2NLFLpE3mu zOmCxoyWkZGEkPhvEXZtH0Fh8gURctH2Eh4AmwMOpUtcWCWhS5jTQQPPHb6uMPz5+Hqb n/ccwUfzJU6MYBuzY0VqXvZS/7UG7lxWvm93eEcI+LZnCDrgLeh7kFTOnEZzad8vTZ4M sS0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZLOM3TZpFx1G0FHmz3svWf38OoZ6qU4SfqgmqviPrrA=; b=ZMGM1qe9JZxHFG7YG2Z5yOwsE2PogQgWOEYhZSG2AYnDeQpkHMahjJRApOrH1/T0pt 19Ruf4Sh2BIEEg4yozXq3hTmUf2/4w8NWgKpsSfK+vM9Zzd4lu/OA83DvY8/f7YCmK+q HjlFbP+BKTxGFG/FypM5K1GIUAUyZoDDL+B9UW6OpOVIkZpvjeyvktLdcJOkfpeeIo+W lh2quNez6Nb1rQYzXx4yphPxoR6L5sAed7yjez33KjEN90eSEzvTBwTWEwHEbJx0MDfs c/BlfMoCz5pDTKupaLkZI2s+ISzaolojUKBOdjpdnWMyDD0V+ybv67A2FU1hj15PItAO u+7A== X-Gm-Message-State: ANhLgQ23gYtKsl8+T6aXaFQPhZ4XX5hixH+raXtlcjC29xsL91Vfn+kU s9YFbjn5/RRIpqLGAmmJE9zNZu3c X-Google-Smtp-Source: ADFU+vv+UdmZRNokjNxVghhbKD3QdqV2SqqxUwK/IWZx3ccnP2eMqufHRoP5QNbhibLWisVn7B6jqA== X-Received: by 2002:a63:6d4e:: with SMTP id i75mr2319830pgc.443.1583925706451; Wed, 11 Mar 2020 04:21:46 -0700 (PDT) Received: from ubt.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id x16sm24277019pfq.40.2020.03.11.04.21.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Mar 2020 04:21:45 -0700 (PDT) From: Chunyan Zhang List-Id: To: soc@kernel.org, Rob Herring , Mark Rutland Cc: Arnd Bergmann , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Orson Zhai , Baolin Wang , Chunyan Zhang , Chunyan Zhang Subject: [RESEND PATCH] arm64: dts: specify console via command line Date: Wed, 11 Mar 2020 19:21:20 +0800 Message-Id: <20200311112120.30890-1-zhang.lyra@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 From: Chunyan Zhang The SPRD serial driver need to know which serial port would be used as console in an early period during initialization, otherwise console init would fail since we added this feature[1]. So this patch add console to command line via devicetree. [1] https://lore.kernel.org/lkml/20190826072929.7696-4-zhang.lyra@gmail.com/ Signed-off-by: Chunyan Zhang --- I guess no comments on this, so resending this and add soc@kernel.org, hope Arnd or Olof can help to merge into arch_arm tree. Thanks, Chunyan --- arch/arm64/boot/dts/sprd/sp9863a-1h10.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/sprd/sp9863a-1h10.dts b/arch/arm64/boot/dts/sprd/sp9863a-1h10.dts index 2047f7a74265..510f65f4d8b8 100644 --- a/arch/arm64/boot/dts/sprd/sp9863a-1h10.dts +++ b/arch/arm64/boot/dts/sprd/sp9863a-1h10.dts @@ -28,7 +28,7 @@ chosen { stdout-path = "serial1:115200n8"; - bootargs = "earlycon"; + bootargs = "earlycon console=ttyS1"; }; };