Re: [PATCH v4 13/14] gpio: ad7768: Add AD7768 GPIO auxiliary driver
Linus Walleij <[email protected]>
| Newsgroups | org.kernel.vger.linux-gpio,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-doc,org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CAD++jL=ETK8XYitifYtiqRT=EEhajRuWVsMbQAy-6Nruan+E_g@mail.gmail.com> |
On Fri, Aug 21, 2026 at 4:09 PM Janani Sunil <[email protected]> wrote: > The AD7768 provides five GPIOs controlled through registers shared > with the parent IIO device. Register an auxiliary gpio-regmap driver > and use the parent device for runtime PM. > > The device has separate input-state and output-latch registers. Add a > reg_mask_xlate() callback that checks the line direction and reads the > programmed output latch for output lines while retaining input-state > reads for input lines. > > Signed-off-by: Janani Sunil <[email protected]> From my PoV this is a beauty, so: Reviewed-by: Linus Walleij <[email protected]> Yours, Linus Walleij