Re: [PATCH v3 2/3] dt-bindings: thermal: qcom-spmi-adc-tm5: Use generic ADC node name

From: Jonathan Cameron
Date: Sun Feb 05 2023 - 09:52:57 EST


On Fri, 3 Feb 2023 15:25:01 -0600
Rob Herring <robh@xxxxxxxxxx> wrote:

> On Wed, Feb 01, 2023 at 09:44:46PM +0100, Marijn Suijten wrote:
> > Update the example to reflect a future requirement for the generic
> > adc-chan node name on ADC channel nodes, while conveying the board name
> > of the channel in a label instead.
>
> I don't think we've defined 'adc-chan' as THE generic name. Looks like
> we have:
>
> adc-chan
> adc-channel
> channel
>
> 'channel' is the most common (except for QCom).
Good spot.

We also have that defined as the channel name in
bindings/iio/adc.yaml

Now this particular binding doesn't use anything from that
generic binding (other than trivial use of reg) but better to be
consistent with it than not!

Thanks,

Jonathan


>
> Rob