Re: [PATCH v6 3/3] hwmon: (cros_ec) register fans into thermal framework cooling devices
From: Guenter Roeck
Date: Wed Sep 24 2025 - 15:31:42 EST
On Thu, Sep 11, 2025 at 06:56:36AM +0000, Sung-Chi Li wrote:
> From: Sung-Chi Li <lschyi@xxxxxxxxxxxx>
>
> Register fans connected under EC as thermal cooling devices as well, so
> these fans can then work with the thermal framework.
>
> During the driver probing phase, we will also try to register each fan
> as a thermal cooling device based on previous probe result (whether the
> there are fans connected on that channel, and whether EC supports fan
> control). The basic get max state, get current state, and set current
> state methods are then implemented as well.
>
> Signed-off-by: Sung-Chi Li <lschyi@xxxxxxxxxxxx>
> Acked-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
Applied.
Guenter