Re: [PATCH v2 3/5] thermal/drivers/generic-adc: Allow probe without TZ registration

Andy Shevchenko
2026-02-20T13:43:10Z

On Fri, Feb 20, 2026 at 12:31:36PM +0100, Luca Weiss wrote:
> On Fri Feb 20, 2026 at 11:50 AM CET, Andy Shevchenko wrote:
> > On Fri, Feb 20, 2026 at 10:19:07AM +0100, Luca Weiss wrote:

...

> >> Since the driver is now also registering as an IIO device[0], allow the
> >> probe to continue without the thermal zone.
> >
> > Isn't it dangerous?

> Why?

Just asking to see if haven't missed anything potentially dangerous for HW
at run-time.

> The idea is that generic-adc-thermal is the middleman to convert
> from one IIO input to one IIO output, and is purely informational, so
> that user space can get some temperature value to display somewhere.
>
> How thermal management will be hooked up in the future to charger
> drivers is a bit out of scope here I'd say. There's not even any cooling
> support in the power supply core anymore, that was ripped out a while
> ago if I'm not mistaken.

Okay, so there is no possibility to get some thermal issues on running
legacy HW (that relies on thermal to be present). If it's the case, no
worries then.

--
With Best Regards,
Andy Shevchenko