Commit 6a79877e authored by Wei Huang's avatar Wei Huang Committed by Pu Wen
Browse files

hwmon: (k10temp) Define SVI telemetry and current factors for Zen2 CPUs

mainline inclusion
from mainline-v5.10-rc1
commit d6144a40
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I7DX6V
CVE: NA

Reference: https://git.kernel.org/torvalds/c/d6144a40041a70ecce410a07d3a2b6906f6e7da9



---------------------------

commit d6144a40 upstream.

The voltage telemetry registers for Zen2 are different from Zen1. Also
the factors of CPU current values are changed on Zen2. Add new definitions
for these register.

Signed-off-by: default avatarWei Huang <wei.huang2@amd.com>
Link: https://lore.kernel.org/r/20200827054242.2347-2-wei.huang2@amd.com


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarPu Wen <puwen@hygon.cn>
parent c230f66f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment