hwmon/k10temp: Add support for Hygon family 18h model 4h
hygon inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I7DX6V CVE: NA --------------------------- The DF F3 device ID used to get the temperature for Hygon family 18h model 4h processor is the same as 17H_M30H, but with different offsets, which may span two distributed ranges. The second offset range can be considered as private for Hygon, so use struct hygon_private to describe it. Add a pointer priv in k10temp_data to point to the private data. Add functions k10temp_get_ccd_support_2nd() and hygon_read_temp() to support reading the second offset range. Signed-off-by:Pu Wen <puwen@hygon.cn>
Loading
Please sign in to comment