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

From: Apurva Nandan
Date: Tue Dec 14 2021 - 03:49:56 EST



On 08/12/21 1:37 pm, Aswath Govindraju wrote:
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 <a-govindraju@xxxxxx>

Reviewed-by: Apurva Nandan <a-nandan@xxxxxx>

---
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