Re: [PATCH v2] ARM: ASPEED: update default ARCH_NR_GPIO for ARCH_ASPEED
Andrew Jeffery
andrew at aj.id.au
Mon Nov 25 11:04:22 AEDT 2019
On Thu, 31 Oct 2019, at 12:10, rentao.bupt at gmail.com wrote:
> From: Tao Ren <rentao.bupt at gmail.com>
>
> 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).
>
> Signed-off-by: Tao Ren <rentao.bupt at gmail.com>
> Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
Hopefully userspace is not making assumptions about sysfs gpiochip numbers.
Acked-by: Andrew Jeffery <andrew at aj.id.au>
More information about the openbmc
mailing list