Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5553096rwb; Tue, 22 Nov 2022 01:24:07 -0800 (PST) X-Google-Smtp-Source: AA0mqf42Vp46MpZP4acZPHYpZ18kyG3v0w2RunWWOQX9GuFHinBN9sNGS/NbVAXwCZKuLQwLbYqd X-Received: by 2002:a17:902:a9c6:b0:188:52df:769e with SMTP id b6-20020a170902a9c600b0018852df769emr2739536plr.30.1669109046816; Tue, 22 Nov 2022 01:24:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669109046; cv=none; d=google.com; s=arc-20160816; b=gpzzS2oGCt7IbWlUjMUHyORXU/ZwjP56tRYeuW3kVv6qyRgsfASRITRU26NS3Smt6B lpv7FrP5IoQ7UbaYEBNOd/+UW/4M5RYF+CPZARhnYhXbImyNxNZk+JlkjW0A9QOVp+Ak U1wLS8q6PX1p8tTlixITdhLbBCPUAeEZQeVqMAr+yCO70rQhBwG5rmGg6wdpS/5hWTAF YuIXJlxZNsqkVEDjNEHRQJYrVQSHp+bCNb19zekhaALb/jrQHQB5ukvo6IkVM1eCFU0I dElOlpEtVOt4ER14DfM+fKVLIdFdpG09x4zxzSMPm+CZ1Mgb5o/Z3AVfdc5fAddjKxjl Z+xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=jR02gf8kaMpHfqyNGPImcbR8FGrKEqg1HLmYZJqjE2Y=; b=kuWkwAjkDM+PEx35CGjwVsW7Tj2caYoVQPcqdGVt8jijVSB4h4dFRSjB0cZah+oOEO FWzvNT61B1Yf/U8XBCSgFKetdWv+fnuzdpyUB/oqCsMTj4EH8CTcOTXQuJLE2yHW1Do7 l18Y7de98BvBQ/lThUFh4yXCZ0UxA+/8+ai/VAAmBjdiX1YnKzs2e7Q8QFWK6WIrl2G/ Dnh41vpFDec6d7mRdbOVdGx2ldkMGGJb3VrYECk8mbH3sX2UUn8t+f15ac4IBcLZfTR6 iH4LTcojZC4yrBUV+sA/ReCXWN2T9NIrEKFHEhZbSwJA9+P98LsraCxMANmMlboSCTXW C6AA== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h192-20020a636cc9000000b00434d8692854si13709864pgc.541.2022.11.22.01.23.54; Tue, 22 Nov 2022 01:24:06 -0800 (PST) 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 S230151AbiKVHvR (ORCPT + 92 others); Tue, 22 Nov 2022 02:51:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232373AbiKVHvO (ORCPT ); Tue, 22 Nov 2022 02:51:14 -0500 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 124B332B8C; Mon, 21 Nov 2022 23:51:14 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id AEEB78061; Tue, 22 Nov 2022 07:40:59 +0000 (UTC) Date: Tue, 22 Nov 2022 09:51:12 +0200 From: Tony Lindgren To: Andrew Davis Cc: Nishanth Menon , Apurva Nandan , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Linus Walleij , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Hari Nagalla Subject: Re: [PATCH v3 4/4] arm64: dts: ti: Add support for J784S4 EVM board Message-ID: 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> <20221118192744.wish2vrxgy7dg7c2@unnerving> <3d5e41f6-16a8-4298-ccd3-6db60f94eb47@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3d5e41f6-16a8-4298-ccd3-6db60f94eb47@ti.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham 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 * Andrew Davis [221118 21:05]: > Why do we need SERIAL_8250_NR_UARTS at all, might be a better question. > These should be dynamically allocated if the number goes over the > default count imposed by the TTY framework. Maybe folks are still a > bit too afraid to touch the TTY subsystem core, I don't blame them.. The 8250 core preallocates a number of ports for use, see serial8250_isa_init_ports() and serial8250_register_8250_port(). As the serial port driver probes, the preallocated ports get re-assigned to the port driver. Maybe we could keep the static serial8250_ports[] and add those ports to a list where also the dynamically allocated ports would go.. Regards, Tony