Re: [PATCH 0/5] RTL8231 GPIO expander support

Andy Shevchenko
2021-05-31T17:22:09Z

On Mon, May 31, 2021 at 6:33 PM Sander Vanheule <sander@svanheule.net> wrote:
> On Mon, 2021-05-31 at 14:16 +0300, Andy Shevchenko wrote:
> > On Monday, May 31, 2021, Michael Walle <michael@walle.cc> wrote:
> > > Am 2021-05-31 10:36, schrieb Sander Vanheule:

> Am I missing something here? It seems to me like the regmap interface can't
> really accommodate what's required, unless maybe the rtl8231 regmap users
> perform some manual locking. This all seems terribly complicated compared to
> using an internal output-value cache inside regmap-gpio.

Have you had a chance to look into the PCA953x driver?
Sounds to me that you are missing the APIs that regmap provides.

--
With Best Regards,
Andy Shevchenko