Skip to contentSkip to conversation

ARM: ASPEED: update default ARCH_NR_GPIO for ARCH_ASPEED

PATCH Superseded [email protected] 2 participants 3 messages Oct 28, 2019 – Oct 31, 2019

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: ASPEED: update default ARCH_NR_GPIO for ARCH_ASPEED

From: Tao Ren <[email protected]>

Increase the max number of GPIOs from default 512 to 1024 for ASPEED platforms, because Facebook Yamp (AST2500) BMC platform has total 594 GPIO pins (232 provided by ASPEED SoC, and 362 by I/O Expanders).

---
 arch/arm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/Kconfig +1 -1
index b7dbeb652cb1..57504f3365c7 100644
@@ -1359,7 +1359,7 @@ config ARCH_NR_GPIO
 	int
 	default 2048 if ARCH_SOCFPGA
 	default 1024 if ARCH_BRCMSTB || ARCH_RENESAS || ARCH_TEGRA || \
-		ARCH_ZYNQ
+		ARCH_ZYNQ || ARCH_ASPEED
 	default 512 if ARCH_EXYNOS || ARCH_KEYSTONE || SOC_OMAP5 || \
 		SOC_DRA7XX || ARCH_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210
 	default 416 if ARCH_SUNXI
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · On Mon, Oct 28, 2019 at 11:49 PM <[email protected]> wrote:

From: Tao Ren <[email protected]>

Increase the max number of GPIOs from default 512 to 1024 for ASPEED platforms, because Facebook Yamp (AST2500) BMC platform has total 594 GPIO pins (232 provided by ASPEED SoC, and 362 by I/O Expanders).

Please send this patch to the ARM SoC and SoC maintainers:
[email protected]
[email protected]

Yours,
Linus Walleij

author
#2 lore raw
Quoted 8 lines · Linus Walleij
Quoted 6 lines · On Mon, Oct 28, 2019 at 11:49 PM <[email protected]> wrote:

From: Tao Ren <[email protected]>

Increase the max number of GPIOs from default 512 to 1024 for ASPEED platforms, because Facebook Yamp (AST2500) BMC platform has total 594 GPIO pins (232 provided by ASPEED SoC, and 362 by I/O Expanders).

Quoted 7 lines
Quoted 1 line

Please send this patch to the ARM SoC and SoC maintainers:
[email protected]
[email protected]

Thanks Linus for the review. I will add ARM SoC and SoC maintaniers in patch v2.

Somehow get_maintainer.pl doesn't list the 2 addresses in my tree; do I need to send a patch to update MAINTAINERS accordingly?

Quoted 2 lines

Yours,
Linus Walleij