From patchwork Thu Jun 1 18:49:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 13264391 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 533C7C7EE2E for ; Thu, 1 Jun 2023 18:50:07 +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=x6/7FolUFFMiCcSmfdgfMCfv8pYs5u35xxxKbEckJ/8=; b=b0Ow9a4P6GE5vR PSXv3qdOrqnWBATcWR3bvlJiSXq3VScz0cE2gy/XTre6PHnh6XfKjmbESSSWOOMJYvse0OMZNE+jv IhJttggEmE0cQ3ZCws5U+g6n/Hw8LgGomG5jRt1OQp3ff6yccJqh6HO8QuTxGEEWxVJ3O3IZT9Fpn 3uzccLOpgZ4YeILchCxuQl4NJ6k4/fxviabHRJiV30a3AyPww2eKEM+ibt2F/Lqix2LomG2S5fkN6 oYFrMz4ynL5HvCAvO2LycrZcjSzq4COrUZXmzxA5QpxKJv5iWV2sfBPNML580CWlQMMbMCTSdfgbU FHD6/dMcIM9VaLmD8uQA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q4nMl-004e9W-1x; Thu, 01 Jun 2023 18:49:43 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q4nMj-004e8e-12 for linux-arm-kernel@lists.infradead.org; Thu, 01 Jun 2023 18:49:42 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 351InaYB107569; Thu, 1 Jun 2023 13:49:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1685645376; bh=H4gTEVA2dIW7ap2i7wvkZjECbengmZntBXhdaY4IHd0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=ps5kBof5K3BRXD3nyx49L+O+O9qxcARpB5C2KYjv0M+9W3J0l8HgaTZk9C2yh4S6T xmAJ40COaJSWFlKg7lR6FcAfsmBjSZaG6uVV8C38KM4xH7H01fWdTcMM4PYNwQfHvc I5o96MxEMWAPefqpxPygYt8l3i9O8ggtsCvzN3zA= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 351InasH031966 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 1 Jun 2023 13:49:36 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 1 Jun 2023 13:49:36 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 1 Jun 2023 13:49:36 -0500 Received: from fllv0040.itg.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 351InYGl073938; Thu, 1 Jun 2023 13:49:35 -0500 From: Andrew Davis To: Nishanth Menon , Vignesh Raghavendra , Wadim Egorov , Rob Herring , Krzysztof Kozlowski CC: , , , Andrew Davis Subject: [PATCH 2/2] arm64: dts: ti: k3-am64: Use phandle to stdout UART node Date: Thu, 1 Jun 2023 13:49:33 -0500 Message-ID: <20230601184933.358731-2-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230601184933.358731-1-afd@ti.com> References: <20230601184933.358731-1-afd@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230601_114941_442408_18863429 X-CRM114-Status: GOOD ( 13.51 ) 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 Using a phandle makes it clear which UART we are choosing without needing to resolve through an alias first. Especially useful for boards like the TI J721s2-EVM where the alias is "serial2" but it actually resolves to the 8th UART instance(main_uart8). Signed-off-by: Andrew Davis --- arch/arm64/boot/dts/ti/k3-am642-evm.dts | 2 +- arch/arm64/boot/dts/ti/k3-am642-sk.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-am642-evm.dts b/arch/arm64/boot/dts/ti/k3-am642-evm.dts index 2b7373207cb71..2760e2b5d6481 100644 --- a/arch/arm64/boot/dts/ti/k3-am642-evm.dts +++ b/arch/arm64/boot/dts/ti/k3-am642-evm.dts @@ -17,7 +17,7 @@ / { model = "Texas Instruments AM642 EVM"; chosen { - stdout-path = "serial2:115200n8"; + stdout-path = &main_uart0; }; aliases { diff --git a/arch/arm64/boot/dts/ti/k3-am642-sk.dts b/arch/arm64/boot/dts/ti/k3-am642-sk.dts index cab5fe9e7a784..7e67dcf66539e 100644 --- a/arch/arm64/boot/dts/ti/k3-am642-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am642-sk.dts @@ -17,7 +17,7 @@ / { model = "Texas Instruments AM642 SK"; chosen { - stdout-path = "serial2:115200n8"; + stdout-path = &main_uart0; }; aliases {