Re: [PATCH 05/14] iio: backend: add support for number of lanes
From: Nuno Sá
Date: Fri Feb 21 2025 - 11:16:27 EST
On Thu, 2025-02-20 at 14:20 -0600, David Lechner wrote:
> On 2/20/25 7:54 AM, Antoniu Miclaus wrote:
> > Add iio backend support for number of lanes to be enabled.
> >
> > Signed-off-by: Antoniu Miclaus <antoniu.miclaus@xxxxxxxxxx>
> > ---
> This is why I was pushing for a similar function to be an iio_backend
> function in [1]. :-)
>
> [1]:
> https://lore.kernel.org/linux-iio/94efa413-5fa9-4014-86c2-331442e9d42e@xxxxxxxxxxxx/
>
> Not sure if that changes what we want to do here, but just pointing it
> out as a similar case to help us decide what the most useful generic
> function would be for this.
>
>
Hmm, yeah, I guess we could have them both in this interface or the API
suggested in discussion you linked (is octal spi a thing?!) even though it gets
a bit confusing in the AD3552R case where we have the other interface for bus
related things.
- Nuno Sá