Re: [PATCH v2 4/4] hwmon: (cros_ec) Add support for temperature thresholds
From: Guenter Roeck
Date: Mon Jan 26 2026 - 19:26:21 EST
On Sun, Jan 18, 2026 at 10:45:58AM +0100, Thomas Weißschuh wrote:
> Implement reading temperature thresholds through
> EC_CMD_THERMAL_GET_THRESHOLD/EC_CMD_THERMAL_SET_THRESHOLD.
>
> Thresholds are mapped as follows between the EC and hwmon:
>
> hwmon_temp_max - EC_TEMP_THRESH_WARN
> hwmon_temp_crit - EC_TEMP_THRESH_HIGH
> hwmon_temp_emergency - EC_TEMP_THRESH_HALT
>
> Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
> Reviewed-by: Tzung-Bi Shih <tzungbi@xxxxxxxxxx>
Applied.
Thanks,
Guenter