forked from Minki/linux
f545a2fd47
A user discovered [1] the CPU Core voltage sensor, which spans 2 registers and provides output in mV. Althroug the discovery was made with a X470 chipset, the sensor is present in X570 (tested with C8H). For now simply add it to each board with the CPU current sensor present. [1] https://github.com/zeule/asus-ec-sensors/issues/12 Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com> Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name> Tested-by: Denis Pauk <pauk.denis@gmail.com> Link: https://lore.kernel.org/r/20220208094244.1106312-1-eugene.shalygin@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
55 lines
1.6 KiB
ReStructuredText
55 lines
1.6 KiB
ReStructuredText
.. SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
Kernel driver asus_ec_sensors
|
|
=================================
|
|
|
|
Supported boards:
|
|
* PRIME X570-PRO,
|
|
* Pro WS X570-ACE,
|
|
* ROG CROSSHAIR VIII DARK HERO,
|
|
* ROG CROSSHAIR VIII HERO (WI-FI)
|
|
* ROG CROSSHAIR VIII FORMULA,
|
|
* ROG CROSSHAIR VIII HERO,
|
|
* ROG CROSSHAIR VIII IMPACT,
|
|
* ROG STRIX B550-E GAMING,
|
|
* ROG STRIX B550-I GAMING,
|
|
* ROG STRIX X570-E GAMING,
|
|
* ROG STRIX X570-F GAMING,
|
|
* ROG STRIX X570-I GAMING
|
|
|
|
Authors:
|
|
- Eugene Shalygin <eugene.shalygin@gmail.com>
|
|
|
|
Description:
|
|
------------
|
|
ASUS mainboards publish hardware monitoring information via Super I/O
|
|
chip and the ACPI embedded controller (EC) registers. Some of the sensors
|
|
are only available via the EC.
|
|
|
|
The driver is aware of and reads the following sensors:
|
|
|
|
1. Chipset (PCH) temperature
|
|
2. CPU package temperature
|
|
3. Motherboard temperature
|
|
4. Readings from the T_Sensor header
|
|
5. VRM temperature
|
|
6. CPU_Opt fan RPM
|
|
7. VRM heatsink fan RPM
|
|
8. Chipset fan RPM
|
|
9. Readings from the "Water flow meter" header (RPM)
|
|
10. Readings from the "Water In" and "Water Out" temperature headers
|
|
11. CPU current
|
|
12. CPU core voltage
|
|
|
|
Sensor values are read from EC registers, and to avoid race with the board
|
|
firmware the driver acquires ACPI mutex, the one used by the WMI when its
|
|
methods access the EC.
|
|
|
|
Module Parameters
|
|
-----------------
|
|
* mutex_path: string
|
|
The driver holds path to the ACPI mutex for each board (actually,
|
|
the path is mostly identical for them). If ASUS changes this path
|
|
in a future BIOS update, this parameter can be used to override
|
|
the stored in the driver value until it gets updated.
|