From patchwork Fri Sep 24 21:48:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 514610 Delivered-To: patch@linaro.org Received: by 2002:a02:c816:0:0:0:0:0 with SMTP id p22csp1889754jao; Fri, 24 Sep 2021 14:48:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5zFLrfmooJLdVYKIwhMtJJSNs0bwe3hmE6fLZtyXJlO0owufZwSl4UqmZDmNTnXy2694D X-Received: by 2002:a17:906:585a:: with SMTP id h26mr13620163ejs.31.1632520128504; Fri, 24 Sep 2021 14:48:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632520128; cv=none; d=google.com; s=arc-20160816; b=FYh0vLZePvQ5Bnt1fgMV1SnADOVRdD6oq+M/EoM8tnyYO7E4Zm5hYm9jORd/x3ZIhQ fhmqMutNYfM24VKYG6fkzBspbxUY6V64NgWg6o52lKkfc0GI4wy+AL57s8k22cy4ccJO R5PYVZj7Zw1v8ayeJXn26thoTpMHaPu9jlgcEsXG3dElw3fIQ4PApDenfKvauo3zUDw3 G6zdo3IYUeuHKVJKrFfU7QpyIXfFse79AimBQfEmGm73ZfdnMXdC4jA//6qxTAtD6YDW mnqY7Eb6B7xTLm4cNpO0SA8gSvE/bPPWfnBQ2EUqZf4vxWDJEuIqBNgn5Ikh1RK+jzhm Hpag== 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 :message-id:date:subject:cc:to:from; bh=EqB/107ryJNK8IwVLNIcwTeFh3xrVqVT6kfeO/feeU8=; b=R9cZFgSDVmHHGJwjT6hP8Jul4YAUMZNvteVMLgaLZ4v079D8AWqRSUir1Z5/3y1Edg u/JEeyRMo5CQcWmqkAbmz6oH+IuqhOCz46Nj2fLDlmdquzII4z8NPdGkWF8lCbumGlzL AtGnmgeB2YbB5n482DDiWtTnXN3Yno7vjvUkVnOXk699r9wpqPCWFClX2LJU8TdV5iVS l/uH7lTTvY+4ozrMZHC+K7xItO8C7Atfupqz1WH8f+CzCLqNmGcGco1V8Ic2r9Z/mIEk 6StxNMPdqRdkZ29IEnxclFtGHkaU9/GGayqu9loYHYoB2MbbPfXuJFHvLPTIp2VLbwV5 HW/g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d15si649643ejo.520.2021.09.24.14.48.48; Fri, 24 Sep 2021 14:48:48 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230238AbhIXVuU (ORCPT + 7 others); Fri, 24 Sep 2021 17:50:20 -0400 Received: from mail-oi1-f175.google.com ([209.85.167.175]:43889 "EHLO mail-oi1-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235048AbhIXVuU (ORCPT ); Fri, 24 Sep 2021 17:50:20 -0400 Received: by mail-oi1-f175.google.com with SMTP id w19so16355081oik.10 for ; Fri, 24 Sep 2021 14:48:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=EqB/107ryJNK8IwVLNIcwTeFh3xrVqVT6kfeO/feeU8=; b=U8jzfWkKS9vRnmPFAo7vbVkj1iC1f8jzBWdfgiZe+MMGH/2da3Xoz1032qB4HmIf7z WzrS61tphnZ3/G+nCUf7lEiKJmVQ2igBinRJ0gIe4dAQm9LvdwlUqArwLf1uTfrTEA5T jFR2yt5dU7bgVYj0CADF1E8DmUHbGliNOFHtLDNU9xlYt+cN1tsm2Q02Uo/Tnfr9P2mG 5n3+FzuZxBTytMLDaZ7upXbRIQmcjbPVeIEuT72QgsqiJKYy2IMSQ+BLicCW65qyTJf1 Ik3cgPJbk9zxedEb5CvLp7D9vawfWNIjYiDCUiShIMOYtzHfS6AXbJNfHgCX/mHfTt9b rsfA== X-Gm-Message-State: AOAM533EqDwUd5qOibK6XTx96nI++cCgcdknEAON8SqLALWwoIE2VsI7 NmWcBY9mewCwKnoUQtt9DQio/pzVwA== X-Received: by 2002:a05:6808:2113:: with SMTP id r19mr3191993oiw.69.1632520126389; Fri, 24 Sep 2021 14:48:46 -0700 (PDT) Received: from xps15.herring.priv (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.googlemail.com with ESMTPSA id d23sm2441909ook.47.2021.09.24.14.48.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Sep 2021 14:48:45 -0700 (PDT) From: Rob Herring To: Sudeep Holla Cc: devicetree@vger.kernel.org, Liviu Dudau , Lorenzo Pieralisi , linux-arm-kernel@lists.infradead.org Subject: [RFC PATCH] arm: dts: vexpress: Set chosen 'stdout-path' Date: Fri, 24 Sep 2021 16:48:44 -0500 Message-Id: <20210924214844.1890478-1-robh@kernel.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Using chosen 'stdout-path' is the preferred way to set the console, but several Arm, Ltd. platforms don't set it. Set it to the 1st serial port. Cc: Liviu Dudau Cc: Sudeep Holla Cc: Lorenzo Pieralisi Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Rob Herring --- RFC because I don't have any idea what the baud rate is for real boards. If anyone knows, please comment and I'll add it. arch/arm/boot/dts/vexpress-v2p-ca15-tc1.dts | 4 +++- arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts | 4 +++- arch/arm/boot/dts/vexpress-v2p-ca5s.dts | 4 +++- arch/arm/boot/dts/vexpress-v2p-ca9.dts | 4 +++- arch/arm64/boot/dts/arm/foundation-v8.dtsi | 4 +++- arch/arm64/boot/dts/arm/fvp-base-revc.dts | 4 +++- arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts | 4 +++- 7 files changed, 21 insertions(+), 7 deletions(-) -- 2.30.2 diff --git a/arch/arm/boot/dts/vexpress-v2p-ca15-tc1.dts b/arch/arm/boot/dts/vexpress-v2p-ca15-tc1.dts index 679537e17ff5..c296a3677447 100644 --- a/arch/arm/boot/dts/vexpress-v2p-ca15-tc1.dts +++ b/arch/arm/boot/dts/vexpress-v2p-ca15-tc1.dts @@ -20,7 +20,9 @@ / { #address-cells = <2>; #size-cells = <2>; - chosen { }; + chosen { + stdout-path = "serial0"; + }; aliases { serial0 = &v2m_serial0; diff --git a/arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts b/arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts index 511e87cc2bc5..7b7c1ec2f542 100644 --- a/arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts +++ b/arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts @@ -20,7 +20,9 @@ / { #address-cells = <2>; #size-cells = <2>; - chosen { }; + chosen { + stdout-path = "serial0"; + }; aliases { serial0 = &v2m_serial0; diff --git a/arch/arm/boot/dts/vexpress-v2p-ca5s.dts b/arch/arm/boot/dts/vexpress-v2p-ca5s.dts index 3b88209bacea..9b70ae1d3e35 100644 --- a/arch/arm/boot/dts/vexpress-v2p-ca5s.dts +++ b/arch/arm/boot/dts/vexpress-v2p-ca5s.dts @@ -20,7 +20,9 @@ / { #address-cells = <1>; #size-cells = <1>; - chosen { }; + chosen { + stdout-path = "serial0"; + }; aliases { serial0 = &v2m_serial0; diff --git a/arch/arm/boot/dts/vexpress-v2p-ca9.dts b/arch/arm/boot/dts/vexpress-v2p-ca9.dts index 5916e4877eac..4eef3db16b3d 100644 --- a/arch/arm/boot/dts/vexpress-v2p-ca9.dts +++ b/arch/arm/boot/dts/vexpress-v2p-ca9.dts @@ -20,7 +20,9 @@ / { #address-cells = <1>; #size-cells = <1>; - chosen { }; + chosen { + stdout-path = "serial0"; + }; aliases { serial0 = &v2m_serial0; diff --git a/arch/arm64/boot/dts/arm/foundation-v8.dtsi b/arch/arm64/boot/dts/arm/foundation-v8.dtsi index fbf13f7c2baf..6eb14717cb4d 100644 --- a/arch/arm64/boot/dts/arm/foundation-v8.dtsi +++ b/arch/arm64/boot/dts/arm/foundation-v8.dtsi @@ -18,7 +18,9 @@ / { #address-cells = <2>; #size-cells = <2>; - chosen { }; + chosen { + stdout-path = "serial0"; + }; aliases { serial0 = &v2m_serial0; diff --git a/arch/arm64/boot/dts/arm/fvp-base-revc.dts b/arch/arm64/boot/dts/arm/fvp-base-revc.dts index 5f519affe728..a6165a472a7b 100644 --- a/arch/arm64/boot/dts/arm/fvp-base-revc.dts +++ b/arch/arm64/boot/dts/arm/fvp-base-revc.dts @@ -24,7 +24,9 @@ / { #address-cells = <2>; #size-cells = <2>; - chosen { }; + chosen { + stdout-path = "serial0"; + }; aliases { serial0 = &v2m_serial0; diff --git a/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts b/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts index 258991ad7cc0..f8dee952cefc 100644 --- a/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts +++ b/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts @@ -23,7 +23,9 @@ / { #address-cells = <2>; #size-cells = <2>; - chosen { }; + chosen { + stdout-path = "serial0"; + }; aliases { serial0 = &v2m_serial0;