Thread (4 messages) flat view 4 messages, 3 authors, 2021-12-23
STALE1688d

[PATCH] arm64: defconfig: Increase the maximum number of 8250/16550 serial ports

From: Aswath Govindraju <hidden>
Date: 2021-12-08 08:08:26
Also in: lkml
Subsystem: the rest · Maintainer: Linus Torvalds

On some TI SoCs the number of UART instances used can be greater than 4.
For example in TI's J721S2 SoC, 11th instance of UART is used as console.
So, increase the maximum number of instances to 16.

Signed-off-by: Aswath Govindraju <redacted>
---
 arch/arm64/configs/defconfig | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 0da6a944d5cd..adb9f1f0802d 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -409,6 +409,8 @@ CONFIG_SERIAL_8250_SHARE_IRQ=y
 CONFIG_SERIAL_8250_BCM2835AUX=y
 CONFIG_SERIAL_8250_DW=y
 CONFIG_SERIAL_8250_OMAP=y
+CONFIG_SERIAL_8250_NR_UARTS=16
+CONFIG_SERIAL_8250_RUNTIME_UARTS=16
 CONFIG_SERIAL_8250_MT6577=y
 CONFIG_SERIAL_8250_UNIPHIER=y
 CONFIG_SERIAL_OF_PLATFORM=y
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help