Re: [PATCH v4 2/5] dt-bindings: thermal: generic-adc: Document #io-channel-cells
From: Rob Herring
Date: Wed Nov 18 2026 - 11:42:46 EST
On Tue, Nov 17, 2026 at 09:23:12AM +0100, Luca Weiss wrote:
> Document the property to allow using this sensor with io-channels.
>
> This means that the output of generic-adc-thermal can be used as an
> input into a different node.
>
> As a specific example, generic-adc-thermal takes in an ADC io-channel in
> Volt, outputs temperature in degC, which can then be consumed by a fuel
> gauge driver to provide the battery temperature readings to user space.
But this is already a thermal-sensor provider, why wouldn't the fuel
gauge use that provider?
Seems like this is letting current Linux driver design dictate the
binding.
Rob