Re: [PATCH] dt-bindings: iio: afe: voltage-divider: Add io-channel-cells
From: Jonathan Cameron
Date: Sat Jan 27 2024 - 11:56:06 EST
On Sat, 27 Jan 2024 16:48:04 +0000
Conor Dooley <conor@xxxxxxxxxx> wrote:
> On Sat, Jan 27, 2024 at 02:49:20PM +0000, Jonathan Cameron wrote:
>
> > > > It's all in the description of the binding...
> > >
> > > Obviously it was not sufficiently clear, it's not as if I didn't look at
> > > it...
> >
> > Given this device fits in both categories, perhaps a tiny bit of
> > additional documentation would help?
>
> That would be nice.
>
> > '#io-channels-cells':
> > description:
> > In addition to consuming the measurement services of an ADC,
> > the voltage divider can act as an provider of measurement
> > services to other devices.
> > const: 1
>
> But I am not sure that that covers things. I think an example, like
> Peter gave, would be good?
Ok. An example is fine.