mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] arm64: defconfig: increase SERIAL_8250_NR_UARTS
@ 2023-11-30 23:16 Francesco Dolcini
  2023-12-01  6:03 ` Tony Lindgren
  0 siblings, 1 reply; 8+ messages in thread
From: Francesco Dolcini @ 2023-11-30 23:16 UTC (permalink / raw)
  To: linux-arm-kernel, linux-kernel, Arnd Bergmann, Nishanth Menon,
	Vignesh Raghavendra
  Cc: Francesco Dolcini, Catalin Marinas, Will Deacon, Tero Kristo,
	Tony Lindgren

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 <tony@atomide.com>
Signed-off-by: Francesco Dolcini <francesco@dolcini.it>
---
 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
-- 
2.39.2


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-12-01 16:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-30 23:16 [PATCH] arm64: defconfig: increase SERIAL_8250_NR_UARTS Francesco Dolcini
2023-12-01  6:03 ` Tony Lindgren
2023-12-01  6:49   ` Nishanth Menon
2023-12-01  8:48     ` Francesco Dolcini
2023-12-01  8:59       ` Nishanth Menon
2023-12-01  9:18         ` Francesco Dolcini
2023-12-01 15:31     ` Arnd Bergmann
2023-12-01 16:31       ` Nishanth Menon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®