Re: [PATCH] dt-bindings: iio: afe: voltage-divider: Add io-channel-cells

From: Conor Dooley
Date: Sat Jan 27 2024 - 11:48:27 EST


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?

Attachment: signature.asc
Description: PGP signature