linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: socfpga: Increase max number of GPIOs
@ 2017-05-04 10:26 Marek Vasut
  2017-05-09 13:24 ` Dinh Nguyen
  0 siblings, 1 reply; 2+ messages in thread
From: Marek Vasut @ 2017-05-04 10:26 UTC (permalink / raw)
  To: linux-arm-kernel

Increase the maximum number of GPIOs on SoCFPGA as this platform
can have many GPIO controllers in the FPGA part.

Signed-off-by: Marek Vasut <marex@denx.de>
---
 arch/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 4c1a35f15838..108c203a8b29 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1460,6 +1460,7 @@ config ARM_PSCI
 # selected platforms.
 config ARCH_NR_GPIO
 	int
+	default 2048 if ARCH_SOCFPGA
 	default 1024 if ARCH_BRCMSTB || ARCH_SHMOBILE || ARCH_TEGRA || \
 		ARCH_ZYNQ
 	default 512 if ARCH_EXYNOS || ARCH_KEYSTONE || SOC_OMAP5 || \
-- 
2.11.0

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

* [PATCH] ARM: socfpga: Increase max number of GPIOs
  2017-05-04 10:26 [PATCH] ARM: socfpga: Increase max number of GPIOs Marek Vasut
@ 2017-05-09 13:24 ` Dinh Nguyen
  0 siblings, 0 replies; 2+ messages in thread
From: Dinh Nguyen @ 2017-05-09 13:24 UTC (permalink / raw)
  To: linux-arm-kernel



On 05/04/2017 05:26 AM, Marek Vasut wrote:
> Increase the maximum number of GPIOs on SoCFPGA as this platform
> can have many GPIO controllers in the FPGA part.
> 
> Signed-off-by: Marek Vasut <marex@denx.de>
> ---
>  arch/arm/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 

Applied! Thanks..

Dinh

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

end of thread, other threads:[~2017-05-09 13:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-04 10:26 [PATCH] ARM: socfpga: Increase max number of GPIOs Marek Vasut
2017-05-09 13:24 ` Dinh Nguyen

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