xref: /linux/Documentation/hwmon/cros_ec_hwmon.rst (revision a34b0e4e21d6be3c3d620aa7f9dfbf0e9550c19e)
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