Re: [PATCH v3 2/3] ARM: dts: add ngpios for vf610 compatible gpio controllers

From: Shawn Guo
Date: Wed Jun 18 2025 - 23:52:59 EST


On Tue, May 20, 2025 at 11:46:13AM +0800, Haibo Chen wrote:
> After commit da5dd31efd24 ("gpio: vf610: Switch to gpio-mmio"),
> the vf610 GPIO driver no longer uses the static number 32 for
> gc->ngpio. This allows users to configure the number of GPIOs
> per port.
>
> And some gpio controllers did have less pads. So add 'ngpios' here,
> this can save some memory when request bitmap, and also show user
> more accurate information when use gpio tools.
>
> Reviewed-by: Frank Li <Frank.Li@xxxxxxx>
> Signed-off-by: Haibo Chen <haibo.chen@xxxxxxx>

Applied, thanks!