linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: defconfig: Increase the maximum number of 8250/16550 serial ports
@ 2021-12-08  8:07 Aswath Govindraju
  2021-12-14  8:49 ` Apurva Nandan
  2021-12-15  7:11 ` Vignesh Raghavendra
  0 siblings, 2 replies; 4+ messages in thread
From: Aswath Govindraju @ 2021-12-08  8:07 UTC (permalink / raw)
  Cc: Kishon Vijay Abraham I, Vignesh Raghavendra, Aswath Govindraju,
	Catalin Marinas, Will Deacon, Shawn Guo, Bjorn Andersson,
	Krzysztof Kozlowski, Geert Uytterhoeven, Matthias Brugger,
	Biju Das, Guido Günther, Enric Balletbo i Serra,
	Dmitry Baryshkov, Sameer Pujar, Zenghui Yu, Nishanth Menon,
	Saravana Kannan, linux-arm-kernel, linux-kernel

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(+)

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


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

* Re: [PATCH] arm64: defconfig: Increase the maximum number of 8250/16550 serial ports
  2021-12-08  8:07 [PATCH] arm64: defconfig: Increase the maximum number of 8250/16550 serial ports Aswath Govindraju
@ 2021-12-14  8:49 ` Apurva Nandan
  2021-12-15  7:11 ` Vignesh Raghavendra
  1 sibling, 0 replies; 4+ messages in thread
From: Apurva Nandan @ 2021-12-14  8:49 UTC (permalink / raw)
  To: Aswath Govindraju
  Cc: Kishon Vijay Abraham I, Vignesh Raghavendra, Catalin Marinas,
	Will Deacon, Shawn Guo, Bjorn Andersson, Krzysztof Kozlowski,
	Geert Uytterhoeven, Matthias Brugger, Biju Das,
	Guido Günther, Enric Balletbo i Serra, Dmitry Baryshkov,
	Sameer Pujar, Zenghui Yu, Nishanth Menon, Saravana Kannan,
	linux-arm-kernel, linux-kernel


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

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

* Re: [PATCH] arm64: defconfig: Increase the maximum number of 8250/16550 serial ports
  2021-12-08  8:07 [PATCH] arm64: defconfig: Increase the maximum number of 8250/16550 serial ports Aswath Govindraju
  2021-12-14  8:49 ` Apurva Nandan
@ 2021-12-15  7:11 ` Vignesh Raghavendra
  2021-12-23  8:40   ` Vignesh Raghavendra
  1 sibling, 1 reply; 4+ messages in thread
From: Vignesh Raghavendra @ 2021-12-15  7:11 UTC (permalink / raw)
  To: Aswath Govindraju
  Cc: Vignesh Raghavendra, linux-arm-kernel, linux-kernel, Nishanth Menon

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


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

* Re: [PATCH] arm64: defconfig: Increase the maximum number of 8250/16550 serial ports
  2021-12-15  7:11 ` Vignesh Raghavendra
@ 2021-12-23  8:40   ` Vignesh Raghavendra
  0 siblings, 0 replies; 4+ messages in thread
From: Vignesh Raghavendra @ 2021-12-23  8:40 UTC (permalink / raw)
  To: Aswath Govindraju; +Cc: linux-arm-kernel, linux-kernel, Nishanth Menon

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

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

end of thread, other threads:[~2021-12-23  8:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-08  8:07 [PATCH] arm64: defconfig: Increase the maximum number of 8250/16550 serial ports Aswath Govindraju
2021-12-14  8:49 ` Apurva Nandan
2021-12-15  7:11 ` Vignesh Raghavendra
2021-12-23  8:40   ` Vignesh Raghavendra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).