xref: /linux/Documentation/hwmon/cros_ec_hwmon.rst (revision 30bbcb44707a97fcb62246bebc8b413b5ab293f8)
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
26Fan and temperature readings are supported. PWM fan control is also supported if
27the EC also supports setting fan PWM values and fan mode. Note that EC will
28switch fan control mode back to auto when suspended. This driver will restore
29the fan state to what they were before suspended when resumed.
30If a fan is controllable, this driver will register that fan as a cooling device
31in the thermal framework as well.
32