Re: [PATCH v3 1/2] hwmon: (cros_ec) register thermal sensors to thermal framework

From: Guenter Roeck
Date: Tue Nov 12 2024 - 22:06:23 EST


On Wed, Nov 13, 2024 at 10:39:51AM +0800, Sung-Chi, Li wrote:
> cros_ec hwmon driver probes available thermal sensors when probing the
> driver. Register these thermal sensors to the thermal framework as well
> via setting HWMON_C_REGISTER_TZ as a chip info, such that thermal
> framework can adopt these sensors as well.
>
> To make cros_ec registrable to thermal framework, the cros_ec dts need
> the corresponding changes:
>
> &cros_ec {
> #thermal-sensor-cells = <1>;
> };
>
> Signed-off-by: Sung-Chi, Li <lschyi@xxxxxxxxxxxx>

Applied.

Thanks,
Guenter