]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (k10temp) Add Hygon Dhyana support
authorPu Wen <puwen@hygon.cn>
Sat, 8 Dec 2018 06:33:28 +0000 (14:33 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 16 Dec 2018 23:13:30 +0000 (15:13 -0800)
commitc56e907f89eb396dcbd412efeadb1d2746fff886
tree2ee597bca84c954beca2134a2e6fde6b1b861ab4
parent2a59acd69afd65a7c3b798024f4919c21ff304ff
hwmon: (k10temp) Add Hygon Dhyana support

Add support for Hygon Dhyana family 18h processor for k10temp to get the
temperature. As Hygon Dhyana shares the same function interface with AMD
family 17h, so add Hygon PCI Vendor ID and reuse the code path of AMD.

Signed-off-by: Pu Wen <puwen@hygon.cn>
Acked-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/k10temp.c