From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 80C34C43217 for ; Fri, 18 Nov 2022 19:28:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235329AbiKRT16 (ORCPT ); Fri, 18 Nov 2022 14:27:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234867AbiKRT15 (ORCPT ); Fri, 18 Nov 2022 14:27:57 -0500 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D685725DE; Fri, 18 Nov 2022 11:27:54 -0800 (PST) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 2AIJRiun065186; Fri, 18 Nov 2022 13:27:45 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1668799665; bh=AZsI4uAWUVHvsk4krFq0fSTfUz9BioebFL/dStV1c5c=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=DuirtsMV4tOFemOBjsECnXLVGaAwUZIGJbD5rey7OIpFqe3plYD1AJNYvfFcPfqrG 0qxJEBQ+Sn+eGynErgBYoklWVMMe6shrZdbuzHR8xffCPtkGLfdPW9CI+aprGrgg76 26wtWuE7z8YDKZnr2YG8zfKWDCB/88PJFIVg0iRI= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 2AIJRi2u021547 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Nov 2022 13:27:44 -0600 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Fri, 18 Nov 2022 13:27:44 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) 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.16 via Frontend Transport; Fri, 18 Nov 2022 13:27:44 -0600 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 2AIJRiN8052813; Fri, 18 Nov 2022 13:27:44 -0600 Date: Fri, 18 Nov 2022 13:27:44 -0600 From: Nishanth Menon To: Andrew Davis CC: Apurva Nandan , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Linus Walleij , , , , , Hari Nagalla Subject: Re: [PATCH v3 4/4] arm64: dts: ti: Add support for J784S4 EVM board Message-ID: <20221118192744.wish2vrxgy7dg7c2@unnerving> References: <20221116130428.161329-1-a-nandan@ti.com> <20221116130428.161329-5-a-nandan@ti.com> <20221118174754.y37pq77drvla2uxj@tinderbox> <8c123fa2-caab-d2dd-5eb4-688f1c6abb33@ti.com> <20221118180808.wnel7d6gswsnooww@junkman> <93242211-95e7-09a0-fced-5ef2deb9fc08@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <93242211-95e7-09a0-fced-5ef2deb9fc08@ti.com> User-Agent: NeoMutt/20171215 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 12:15-20221118, Andrew Davis wrote: > I don't see either of those addressed in that thread, only that > the aliases should go in the .dts files and be trimmed, nothing Key is trimmed to what the system and ecosystem needs. > stops us from: > > chosen { > stdout-path = "serial10:115200n8"; > }; > > aliases { > serial10 = &main_uart8; > }; Do we need 10 serial aliases? There are'nt 10 serial ports exposed in j782s2. ok - lets say we do this, then: [1] is needed to boot? but why do we need to do that for all armv8 platforms when aliases allows us to trim it to just the 3 or 4 serial ports the platform really needs That + being able to use the convention that serial2 is always linux console, is'nt that a good thing? Hence recommending to just expose the serialports as aliases to exactly what we need while keeping serial2 as the linux console (which in this case happens to be main_uart8 - example as j721s2 does). [1] https://lore.kernel.org/lkml/3ab9addf-7938-fcf3-6147-15a998e37d2d@ti.com/ -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D