mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-06-02 08:42:22 -04:00
hwmon: (k10temp) Add thermal support for AMD Family 1Ah-based models
Add thermal info support for newer AMD Family 1Ah-based models. Signed-off-by: Avadhut Naik <avadhut.naik@amd.com> Link: https://lore.kernel.org/r/20250729001644.257645-1-avadhut.naik@amd.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
committed by
Guenter Roeck
parent
76eeb9b8de
commit
f116af2eb5
@@ -84,6 +84,13 @@ static DEFINE_MUTEX(nb_smu_ind_mutex);
|
||||
*/
|
||||
#define AMD_I3255_STR "3255"
|
||||
|
||||
/*
|
||||
* PCI Device IDs for AMD's Family 1Ah-based SOCs.
|
||||
* Defining locally as IDs are not shared.
|
||||
*/
|
||||
#define PCI_DEVICE_ID_AMD_1AH_M50H_DF_F3 0x12cb
|
||||
#define PCI_DEVICE_ID_AMD_1AH_M90H_DF_F3 0x127b
|
||||
|
||||
struct k10temp_data {
|
||||
struct pci_dev *pdev;
|
||||
void (*read_htcreg)(struct pci_dev *pdev, u32 *regval);
|
||||
@@ -556,7 +563,9 @@ static const struct pci_device_id k10temp_id_table[] = {
|
||||
{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_19H_M78H_DF_F3) },
|
||||
{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_1AH_M00H_DF_F3) },
|
||||
{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_1AH_M20H_DF_F3) },
|
||||
{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_1AH_M50H_DF_F3) },
|
||||
{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_1AH_M60H_DF_F3) },
|
||||
{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_1AH_M90H_DF_F3) },
|
||||
{ PCI_VDEVICE(HYGON, PCI_DEVICE_ID_AMD_17H_DF_F3) },
|
||||
{}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user