Thread (16 messages) 16 messages, 4 authors, 2026-01-27

Re: [PATCH v2 4/4] hwmon: (cros_ec) Add support for temperature thresholds

From: Tzung-Bi Shih <tzungbi@kernel.org>
Date: 2026-01-21 09:09:06
Also in: chrome-platform, linux-hwmon, lkml

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.
The patch doesn't use it:
s@/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@weissschuh.net>
With the commit message issue addressed,
Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help