Re: [PATCH v7 0/7] New features for the AD5686 IIO driver
From: Jonathan Cameron
Date: Sat Jul 11 2026 - 22:05:40 EST
On Sat, 11 Jul 2026 10:23:56 -0500
David Lechner <dlechner@xxxxxxxxxxxx> wrote:
> On 7/10/26 6:20 AM, Rodrigo Alencar via B4 Relay wrote:
> > This is the second series of three on updating the AD5686 driver.
> >
> > Initially, a big patch series was sent:
> > https://lore.kernel.org/r/20260422-ad5313r-iio-support-v1-0-ed7dca001d1b@xxxxxxxxxx
> >
> > Then, the first patch series added fixes and cleanups:
> > https://lore.kernel.org/linux-iio/20260524-ad5686-fixes-v7-0-b6bf395d08bd@xxxxxxxxxx/
> >
> > This one is introducing new features:
> > - Consume optional reset and correct power supplies;
> > - LDAC GPIO handling (active-low, held low when unused);
> > - SPI bus sync() implementation for batching multiple transfers;
> > - Triggered buffer support, leveraging LDAC and sync() to flush
> > all channel writes atomically;
> > - Gain control support through the scale property.
> >
> > Signed-off-by: Rodrigo Alencar <rodrigo.alencar@xxxxxxxxxx>
> > ---
>
> I made a few comments, but nothing critical, so...
>
> Reviewed-by: David Lechner <dlechner@xxxxxxxxxxxx>
>
>
I didn't find anything to add, so should be good with a v8
covering the stuff David pointed out. FWIW sashiko is clean
though it does raise a missing null check if anyone forces
a bind that might be good to fix.
As to the DMA cache line issues, I'd ignore those. If they
are a real problem with any controller (or more likely
the interconnect / caches in front of it) than I think it
is up to the controller driver to bounce the data.
J
J