xref: /linux/Documentation/hwmon/cros_ec_hwmon.rst (revision be1ca3ee8f97067fee87fda73ea5959d5ab75bbf)
1.. SPDX-License-Identifier: GPL-2.0-or-later
2
3Kernel driver cros_ec_hwmon
4===========================
5
6Supported chips:
7
8  * ChromeOS embedded controllers.
9
10    Prefix: 'cros_ec'
11
12    Addresses scanned: -
13
14Author:
15
16  - Thomas Weißschuh <linux@weissschuh.net>
17
18Description
19-----------
20
21This driver implements support for hardware monitoring commands exposed by the
22ChromeOS embedded controller used in Chromebooks and other devices.
23
24The channel labels exposed via hwmon are retrieved from the EC itself.
25
26Supported features
27------------------
28
29Fan readings
30    Always supported.
31
32Fan target speed
33    If supported by the EC.
34
35Temperature readings
36    Always supported.
37
38Temperature thresholds
39    If supported by the EC.
40
41PWM fan control
42    If the EC also supports setting fan PWM values and fan mode.
43
44    Note that EC will switch fan control mode back to auto when suspended.
45    This driver will restore the fan state to what they were before suspended when resumed.
46
47    If a fan is controllable, this driver will register that fan as a cooling device
48    in the thermal framework as well.
49