Re: [PATCH 2/2] iio: adc: ad9467: make iio backend optional

From: Jonathan Cameron

Date: Sun Dec 21 2025 - 15:00:21 EST


On Tue, 16 Dec 2025 11:40:06 +0000
Tomas Melin <tomas.melin@xxxxxxxxxxx> wrote:

> Not all users can or want to use the device with an iio-backend.
> For these users, let the driver work in standalone mode, not coupled
> to the backend or the services it provides.
>
> Signed-off-by: Tomas Melin <tomas.melin@xxxxxxxxxxx>
Hi Tomas,

> static int ad9467_probe(struct spi_device *spi)
> @@ -1352,21 +1361,25 @@ static int ad9467_probe(struct spi_device *spi)
> indio_dev->channels = st->info->channels;
> indio_dev->num_channels = st->info->num_channels;
>
> + /* Using a backend is optional */

I'll largely defer to Nuno on the backend aspects but I would like a
lot more than a statement that it is optional in this comment.
At least something about where the data goes and what a real system
that didn't provide a backend would look like etc.

I can think of some setups where I'd be fine with this change and others
where I'd push back harder.

Jonathan