Commit 18ccf486 authored by Thomas Weißschuh's avatar Thomas Weißschuh Committed by Guenter Roeck
Browse files

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: default avatarThomas Weißschuh <linux@weissschuh.net>
Reviewed-by: default avatarTzung-Bi Shih <tzungbi@kernel.org>
Link: https://lore.kernel.org/r/20260118-cros_ec-hwmon-pwm-v2-1-77eb1709b031@weissschuh.net


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 51521432
Loading
Loading
Loading
Loading
+17 −6
Original line number Diff line number Diff line
@@ -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.
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.