]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (asus-ec-sensors) add CPU core voltage
authorEugene Shalygin <eugene.shalygin@gmail.com>
Tue, 8 Feb 2022 09:42:43 +0000 (10:42 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 28 Feb 2022 01:03:18 +0000 (17:03 -0800)
commitc206d3e43a9d820e4a4c148fcf054baf62c869d2
tree94cb38d3afeb0d4fa558d01ecfb05019a59c0d6a
parentc67fc34695e63d268e8d7141317530b72039f49c
hwmon: (asus-ec-sensors) add CPU core voltage

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>
Documentation/hwmon/asus_ec_sensors.rst
drivers/hwmon/asus-ec-sensors.c