Re: [PATCH v3 13/14] gpio: ad7768: Add AD7768 GPIO auxiliary driver
Linus Walleij <[email protected]>
| Newsgroups | gmane.linux.kernel,gmane.linux.kernel.iio,gmane.linux.drivers.devicetree,gmane.linux.kernel.gpio,gmane.linux.documentation |
|---|---|
| Message-ID | <CAD++jL=LpUoV5k-2MO2MXuT1e4Vy2EMqkG6RQ=bgdpjDis3kXA@mail.gmail.com> |
On Thu, Aug 13, 2026 at 3:58 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]> Nice patch! Reviewed-by: Linus Walleij <[email protected]> Yours, Linus Walleij