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>
Tue, 8 Feb 2022 23:30:30 +0000 (15:30 -0800)
commitcf7ff6f041303d3f6f0e19120e6e133b1fb5b1c3
treee69360a9bd30a59d485ee8a0ea0d349488f66698
parentd7334d0558117653c72394782c0d6b7f71d02482
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