Re: [PATCH v1 1/1] gpio: exar: Allow IO port access

From: William Breathitt Gray
Date: Tue Oct 18 2022 - 08:17:51 EST


On Tue, Oct 18, 2022 at 10:29:13AM +0200, Linus Walleij wrote:
> On Mon, Oct 17, 2022 at 7:05 PM Andy Shevchenko
> <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
>
> > It's possible that PCI device can provide an IO port resource for
> > the device. regmap MMIO currently uses MMIO by default. With an
> > additional flag we enable support for IO port accesses.
> >
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
>
> Looks clever to me!
> Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> I would let William have a look at it as well, as he's worked extensively
> with port-mapped I/O.
>
> Yours,
> Linus Walleij

I love how simple it is to add IO port support to these drivers now. :-)

Acked-by: William Breathitt Gray <william.gray@xxxxxxxxxx>

I'm hoping to convert several of the port-mapped GPIO drivers to the
regmap API later this cycle, so it's good to see other modules making
use of this interface as well.

Thanks,

William Breathitt Gray

Attachment: signature.asc
Description: PGP signature