From patchwork Thu Nov 30 23:16:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 13475172 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 164B1C4167B for ; Thu, 30 Nov 2023 23:18:00 +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: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:In-Reply-To:References: List-Owner; bh=F5USowvHmQd8jwDljskLfQu98KrdJohBVcNRZbO3Za0=; b=blK8Ob8aoPPjYC 6Wq/FdNEkPpwn4YqFQ9ZDmywzUFnloWfhjInqvhp9FGCnyCZbflga0UMBadFxDPySov1KXTEn9bok 19KRH+1Zl5FQFO+mjTHjQdhoWzVJ8d4OWnmPU2oTnAu178Pwa7ngv+3PISQH2ACVReW2RP7RO5P4i zd4iLvZvOicIr2Gu3W4rlaLpGVIeOFnBHxE4rqB2ogdisLal+/rzol7yKX19jLl+JJfFU6zMks/YN BOTvLkkXzWrzqJbrbqqscTowF0WgP4H3YIKONwibO7tcUoxVJC5y8vVDQdbNDHsmxFx3j1srDruOD 0K7sFtKLKqn/Efof1ILQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r8qHh-00C8vp-0B; Thu, 30 Nov 2023 23:17:29 +0000 Received: from mail11.truemail.it ([2001:4b7e:0:8::81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r8qHd-00C8ur-0l for linux-arm-kernel@lists.infradead.org; Thu, 30 Nov 2023 23:17:27 +0000 Received: from gaggiata.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 047841F842; Fri, 1 Dec 2023 00:17:19 +0100 (CET) Received: from livingston (unknown [192.168.42.11]) by gaggiata.pivistrello.it (Postfix) with ESMTP id A830E7F9DD; Fri, 1 Dec 2023 00:17:18 +0100 (CET) Received: from pivi by livingston with local (Exim 4.96) (envelope-from ) id 1r8qHW-0003JL-1j; Fri, 01 Dec 2023 00:17:18 +0100 From: Francesco Dolcini To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Nishanth Menon , Vignesh Raghavendra Cc: Francesco Dolcini , Catalin Marinas , Will Deacon , Tero Kristo , Tony Lindgren Subject: [PATCH] arm64: defconfig: increase SERIAL_8250_NR_UARTS Date: Fri, 1 Dec 2023 00:16:57 +0100 Message-Id: <20231130231657.12715-1-francesco@dolcini.it> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231130_151725_444025_4EF6CB1B X-CRM114-Status: UNSURE ( 9.03 ) X-CRM114-Notice: Please train this message. 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 Increase CONFIG_SERIAL_8250_NR_UARTS from 4 to 8, the current legacy value is not adequate for embedded systems that use SoCs where it's common to have a large number of serial ports. No need to change CONFIG_SERIAL_8250_RUNTIME_UARTS, see commit 9d86719f8769 ("serial: 8250: Allow using ports higher than SERIAL_8250_RUNTIME_UARTS"). This enables using the UART connected Bluetooth device on Verdin AM62 board. Cc: Tony Lindgren Signed-off-by: Francesco Dolcini Reviewed-by: Tony Lindgren --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index b60aa1f89343..ecd365cd1d87 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -448,6 +448,7 @@ CONFIG_SERIO_AMBAKMI=y CONFIG_LEGACY_PTY_COUNT=16 CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_SERIAL_8250_NR_UARTS=8 CONFIG_SERIAL_8250_EXTENDED=y CONFIG_SERIAL_8250_SHARE_IRQ=y CONFIG_SERIAL_8250_BCM2835AUX=y