Skip to contentSkip to conversation

ARM: socfpga: Increase max number of GPIOs

PATCH New Marek Vasut 2 participants 2 messages May 4, 2017 – May 9, 2017 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: socfpga: Increase max number of GPIOs

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

---
 arch/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/Kconfig +1 -0
index 4c1a35f15838..108c203a8b29 100644
@@ -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 || \
Signature · 1 line
2.11.0
Applied
#1 lore raw

PATCH 1/1 ARM: socfpga: Increase max number of GPIOs

Quoted 8 lines · Marek Vasut

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

---
 arch/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Applied! Thanks..

Dinh