Re: [PATCH v8 00/17] iio: adc: Add AD7768/AD7768-4 ADC driver support
From: Jonathan Cameron
Date: Mon Sep 21 2026 - 20:18:21 EST
On Mon, 21 Sep 2026 10:46:41 +0200
Janani Sunil <jananisunil.dev@xxxxxxxxx> wrote:
> On 9/21/26 02:37, Jonathan Cameron wrote:
> > On Wed, 16 Sep 2026 13:13:49 +0200
> > Janani Sunil <janani.sunil@xxxxxxxxxx> wrote:
> >
> >> Add support for Analog Devices AD7768 and AD7768-4, 24-bit simultaneous
> >> sampling Sigma-Delta ADCs with automatic power mode selection.
> >> Changes in v8:
> >> - Introduce the DCLK divider helper in the core patch to avoid moving its
> >> register-programming logic later in the series.
> >> - Document why register caching is not used
> > Other than open question on regcache vs volatile registers
> > this series looks good to me now. So let us get that resolved
> > nice and quickly. If it turns out regcache can be used I don't mind
> > just tweaking that comment for now and taking a follow up patch to
> > turn regcache on when you have it ready.
> >
> > Jonathan
>
> volatile_reg would handle the live GPIO and status registers. I will remove the regcache sentence from the comments, leaving just the SPI framing explanation. I'll look at enabling regcache in a separate patch.
I was in process of taking this series and applying that tweak
so you could build on top and found something curious.
The ad7768-1 driver. However, I asked claude to tell me if they
were similar and indeed it provided a bunch of evidence
to support your statement that they aren't that close.
So fair enough and someone should talk to your chip naming
department :) Applied to the testing branch of iio.git for
the bots to take a look.
Thanks,
Jonathan
>
> Best Regards,
> Jan
>