]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hwmon: (cros_ec) Add support for fan target speed
authorThomas Weißschuh <linux@weissschuh.net>
Sun, 18 Jan 2026 09:45:56 +0000 (10:45 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 31 Jan 2026 15:38:33 +0000 (07:38 -0800)
commitbd7a455aee3b98aaa36f7d71c66c7a823a6131a0
tree61aa8c0f5053abb03f08ffc51d150666fabbea06
parent18ccf48656e010838075fd00caa6d93d3f95d106
hwmon: (cros_ec) Add support for fan target speed

Use EC_CMD_PWM_GET_FAN_TARGET_RPM to retrieve the target fan speed.
The EC only supports this for the first fan.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org>
Link: https://lore.kernel.org/r/20260118-cros_ec-hwmon-pwm-v2-2-77eb1709b031@weissschuh.net
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/cros_ec_hwmon.rst
drivers/hwmon/cros_ec_hwmon.c