Re: [PATCH 06/11] gpio: Add NVIDIA LSTP GPIO driver
From: Adrian Ambrozewicz
Date: Tue Oct 20 2026 - 10:32:13 EST
Hi Linus,
On Fri, Oct 16, 2026 at 11:14 PM Linus Walleij <linusw@xxxxxxxxxx> wrote:
> > gpio-regmap has no get_multiple/set_multiple, while the device takes
> > several pins in one request,
>
> So just add it (get/set_multiple) to gpio-regmap.c?
>
> There is a nice generic implementation of get/set_multiple in
> drivers/gpio/gpio-mmio.c to draw on for inspiration.
[...]
> I don't quite get it, but I prefer gpio-regmap with an extended
> gpio-regmap.
Thanks for the pointer to gpio-mmio.c. We are open to extending
gpio-regmap and will evaluate this approach.
Thanks,
Adrian