diff mbox series

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

Message ID 20211208080737.10761-1-a-govindraju@ti.com (mailing list archive)
State New, archived
Headers show
Series arm64: defconfig: Increase the maximum number of 8250/16550 serial ports | expand

Commit Message

Aswath Govindraju Dec. 8, 2021, 8:07 a.m. UTC
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@ti.com>
---
 arch/arm64/configs/defconfig | 2 ++
 1 file changed, 2 insertions(+)

Comments

Apurva Nandan Dec. 14, 2021, 8:49 a.m. UTC | #1
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@ti.com>

Reviewed-by: Apurva Nandan <a-nandan@ti.com>

> ---
>   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
Vignesh Raghavendra Dec. 15, 2021, 7:11 a.m. UTC | #2
Hi Aswath Govindraju,
 
On Wed, 8 Dec 2021 13:37:35 +0530, 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.
> 
> 
 
I have applied the following to branch ti-k3-config-next on [1].
Thank you!
 
[1/1] arm64: defconfig: Increase the maximum number of 8250/16550 serial ports
      commit: 8e799ff45baebab781cf392be51a54b1f3fceb23
 
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.
 
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
 
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
 
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
 
[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Vignesh
Vignesh Raghavendra Dec. 23, 2021, 8:40 a.m. UTC | #3
Hi

On 15/12/21 12:41 pm, Vignesh Raghavendra wrote:
> Hi Aswath Govindraju,
>  
> On Wed, 8 Dec 2021 13:37:35 +0530, 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.
>>
>>
>  
> I have applied the following to branch ti-k3-config-next on [1].
> Thank you!
>  
> [1/1] arm64: defconfig: Increase the maximum number of 8250/16550 serial ports
>       commit: 8e799ff45baebab781cf392be51a54b1f3fceb23
>  

I have dropped this patch from the queue, based on comments at:

https://lore.kernel.org/linux-arm-kernel/CAK8P3a2VSBvOn1o+q1PYZaQ6LS9U4cz+DZGuDbisHkwNs2dAAw@mail.gmail.com/T/#m4ecb0dc6a78c84631f072faa1b0df0df46333d09
diff mbox series

Patch

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