Re: [PATCH] arm64: defconfig: Modify number of usable 8250 uart ports

From: Bhavya Kapoor
Date: Thu May 16 2024 - 06:08:04 EST



On 16/05/24 3:27 pm, Bhavya Kapoor wrote:
Jacinto SoCs have a total of 12 serial uart ports. But only 8 out
of these 12 uarts can be used at a time.

Thus, Modify maximum number of 8250 serial uart ports which can be
supported as well as modify how many 8250 serial uart ports which
we can use in the runtime to 12 for all the SoCs.

Signed-off-by: Bhavya Kapoor <b-kapoor@xxxxxx>
---

rebased to next-20240516

arch/arm64/configs/defconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 57a9abe78ee4..c693736909bc 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -454,7 +454,8 @@ 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_NR_UARTS=12
+CONFIG_SERIAL_8250_RUNTIME_UARTS=12
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_SHARE_IRQ=y
CONFIG_SERIAL_8250_BCM2835AUX=y