Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

hwmon: (k10temp) Add support for AMD Family 19h Models 10h-1Fh and A0h-AFh

Add thermal info support for AMD Family 19h Models 10h-1Fh and A0h-AFh.
Thermal info is supported via a new PCI device ID at offset 0x300h.

Signed-off-by: Babu Moger <babu.moger@amd.com>
Link: https://lore.kernel.org/r/163640829419.955062.12539219969781039915.stgit@bmoger-ubuntu
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

authored by

Babu Moger and committed by
Guenter Roeck
3cf90efa f707bcb5

+3
+3
drivers/hwmon/k10temp.c
··· 433 433 data->ccd_offset = 0x154; 434 434 k10temp_get_ccd_support(pdev, data, 8); 435 435 break; 436 + case 0x10 ... 0x1f: 436 437 case 0x40 ... 0x4f: /* Yellow Carp */ 438 + case 0xa0 ... 0xaf: 437 439 data->ccd_offset = 0x300; 438 440 k10temp_get_ccd_support(pdev, data, 8); 439 441 break; ··· 479 477 { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_17H_M60H_DF_F3) }, 480 478 { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_17H_M70H_DF_F3) }, 481 479 { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_19H_DF_F3) }, 480 + { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_19H_M10H_DF_F3) }, 482 481 { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_19H_M40H_DF_F3) }, 483 482 { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_19H_M50H_DF_F3) }, 484 483 { PCI_VDEVICE(HYGON, PCI_DEVICE_ID_AMD_17H_DF_F3) },