hwmon: (k10temp) Add support for Zen3 CPUs
authorWei Huang <wei.huang2@amd.com>
Mon, 14 Sep 2020 20:07:15 +0000 (15:07 -0500)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 23 Sep 2020 16:42:41 +0000 (09:42 -0700)
commit55163a1c00fcb526e2aa9f7f952fb38d3543da5e
tree02df581168dd08de214556b90876e7c906aaf163
parent04e216d19e4044148f16ca4eb3fade2a90a0b02e
hwmon: (k10temp) Add support for Zen3 CPUs

Zen3 thermal info is supported via a new PCI device ID. Also the voltage
telemetry registers and the current factors need to be defined. k10temp
driver then searches for CPU family 0x19 and configures k10temp_data
accordingly.

Signed-off-by: Wei Huang <wei.huang2@amd.com>
Link: https://lore.kernel.org/r/20200914200715.1997757-1-wei.huang2@amd.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/k10temp.c