On Thu, Nov 3, 2022 at 9:28 PM Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote: > > It's actually preferable to use Generic regmap GPIO over other > simple approaches. Add a TODO item for that. > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> > --- > drivers/gpio/TODO | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/drivers/gpio/TODO b/drivers/gpio/TODO > index f87ff3fa8a53..76560744587a 100644 > --- a/drivers/gpio/TODO > +++ b/drivers/gpio/TODO > @@ -124,6 +124,13 @@ Work items: > this with dry-coding and sending to maintainers to test > > > +Generic regmap GPIO > + > +In the very similar way to Generic MMIO GPIO convert the users which can > +take advantage of using regmap over direct IO accessors. Note, even in > +MMIO case the regmap MMIO with gpio-regmap.c is preferable over gpio-mmio.c. > + > + > GPIOLIB irqchip > > The GPIOLIB irqchip is a helper irqchip for "simple cases" that should > -- > 2.35.1 > Makes sense, applied. Bartosz