hwmon: (cros_ec) Split up supported features in the documentation

The wall of text of supported features is hard to read and messy to
extend. Split it into a definition list with an explanations for each
supported feature.

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-1-77eb1709b031@weissschuh.net
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Thomas Weißschuh authored and Guenter Roeck committed 2026-01-31 07:38:33 -08:00
1 parent 51521432e9
commit 18ccf48656
1 file changed
+17 -6
+17 -6
View File
@@ -23,9 +23,20 @@ ChromeOS embedded controller used in Chromebooks and other devices.
The channel labels exposed via hwmon are retrieved from the EC itself.
Fan and temperature readings are supported. PWM fan control is also supported if
the EC also supports setting fan PWM values and fan mode. Note that EC will
switch fan control mode back to auto when suspended. This driver will restore
the fan state to what they were before suspended when resumed.
If a fan is controllable, this driver will register that fan as a cooling device
in the thermal framework as well.
Supported features
------------------
Fan readings
Always supported.
Temperature readings
Always supported.
PWM fan control
If the EC also supports setting fan PWM values and fan mode.
Note that EC will switch fan control mode back to auto when suspended.
This driver will restore the fan state to what they were before suspended when resumed.
If a fan is controllable, this driver will register that fan as a cooling device
in the thermal framework as well.