| 1 |
.. SPDX-License-Identifier: GPL-2.0-or-later |
| 2 |
|
| 3 |
Kernel driver cros_ec_hwmon |
| 4 |
=========================== |
| 5 |
|
| 6 |
Supported chips: |
| 7 |
|
| 8 |
* ChromeOS embedded controllers. |
| 9 |
|
| 10 |
Prefix: 'cros_ec' |
| 11 |
|
| 12 |
Addresses scanned: - |
| 13 |
|
| 14 |
Author: |
| 15 |
|
| 16 |
- Thomas Weißschuh <[email protected]> |
| 17 |
|
| 18 |
Description |
| 19 |
----------- |
| 20 |
|
| 21 |
This driver implements support for hardware monitoring commands exposed by the |
| 22 |
ChromeOS embedded controller used in Chromebooks and other devices. |
| 23 |
|
| 24 |
The channel labels exposed via hwmon are retrieved from the EC itself. |
| 25 |
|
| 26 |
Supported features |
| 27 |
------------------ |
| 28 |
|
| 29 |
Fan readings |
| 30 |
Always supported. |
| 31 |
|
| 32 |
Fan target speed |
| 33 |
If supported by the EC. |
| 34 |
|
| 35 |
Temperature readings |
| 36 |
Always supported. |
| 37 |
|
| 38 |
Temperature thresholds |
| 39 |
If supported by the EC. |
| 40 |
|
| 41 |
PWM 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. |