Documentation/hwmon/cros_ec_hwmon.rst

Source file repositories/reference/linux-study-clean/Documentation/hwmon/cros_ec_hwmon.rst

File Facts

System
Linux kernel
Corpus path
Documentation/hwmon/cros_ec_hwmon.rst
Extension
.rst
Size
1096 bytes
Lines
49
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: documentation
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

.. SPDX-License-Identifier: GPL-2.0-or-later

Kernel driver cros_ec_hwmon
===========================

Supported chips:

  * ChromeOS embedded controllers.

    Prefix: 'cros_ec'

    Addresses scanned: -

Author:

  - Thomas Weißschuh <linux@weissschuh.net>

Description
-----------

This driver implements support for hardware monitoring commands exposed by the
ChromeOS embedded controller used in Chromebooks and other devices.

The channel labels exposed via hwmon are retrieved from the EC itself.

Supported features
------------------

Fan readings
    Always supported.

Fan target speed
    If supported by the EC.

Temperature readings
    Always supported.

Temperature thresholds
    If supported by the EC.

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.

Annotation

Implementation Notes