[PATCH v2 0/4] hwmon: (cros_ec) Fan target and temperature thresholds

From: Thomas Weißschuh

Date: Sun Jan 18 2026 - 04:46:05 EST


Add read-only support to cros_ec_hwmon for
* fan target speed for fan 1
* fan temperature thresholds for all temp sensors

This series is meant to be merged through the hwmon tree.

Tested on a Framework 13 AMD.

Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
---
Changes in v2:
- Rebase onto hwmon-next
- Drop already applied cros_ec_cmd_versions().
- Drop PWM control patch as it is already implemented.
- Drop write-access to temperature thresholds.
- Link to v1: https://lore.kernel.org/r/20240608-cros_ec-hwmon-pwm-v1-0-d29dfc26fbc3@xxxxxxxxxxxxxx

---
Thomas Weißschuh (4):
hwmon: (cros_ec) Split up supported features in the documentation
hwmon: (cros_ec) Add support for fan target speed
hwmon: (cros_ec) Move temperature channel params to a macro
hwmon: (cros_ec) Add support for temperature thresholds

Documentation/hwmon/cros_ec_hwmon.rst | 29 ++++++--
drivers/hwmon/cros_ec_hwmon.c | 133 +++++++++++++++++++++++++++-------
2 files changed, 129 insertions(+), 33 deletions(-)
---
base-commit: cd9625d235b6e42b0430f828f1d2a0b688923872
change-id: 20240529-cros_ec-hwmon-pwm-0dcc610ba0dc

Best regards,
--
Thomas Weißschuh <linux@xxxxxxxxxxxxxx>