]> git.baikalelectronics.ru Git - kernel.git/commitdiff
thermal: int340x: Add Raptor Lake PCI device id
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Fri, 14 Jan 2022 23:24:35 +0000 (15:24 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 17 Jan 2022 18:48:07 +0000 (19:48 +0100)
Add Raptor Lake PCI ID for processor thermal device.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/thermal/intel/int340x_thermal/processor_thermal_device.h
drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c

index 9b2a64ef55d0292def8f0a4aecb12c4595c55b69..49932a68abac4df77e855490cf088f0de057a18d 100644 (file)
@@ -24,6 +24,7 @@
 #define PCI_DEVICE_ID_INTEL_HSB_THERMAL        0x0A03
 #define PCI_DEVICE_ID_INTEL_ICL_THERMAL        0x8a03
 #define PCI_DEVICE_ID_INTEL_JSL_THERMAL        0x4E03
+#define PCI_DEVICE_ID_INTEL_RPL_THERMAL        0xA71D
 #define PCI_DEVICE_ID_INTEL_SKL_THERMAL        0x1903
 #define PCI_DEVICE_ID_INTEL_TGL_THERMAL        0x9A03
 
index b4bcd3fe9eb2f9339a9b780f60cc0d1ad1028cfe..ca40b0967cdda92f5884dc000eeae1201965c983 100644 (file)
@@ -358,6 +358,7 @@ static SIMPLE_DEV_PM_OPS(proc_thermal_pci_pm, proc_thermal_pci_suspend,
 
 static const struct pci_device_id proc_thermal_pci_ids[] = {
        { PCI_DEVICE_DATA(INTEL, ADL_THERMAL, PROC_THERMAL_FEATURE_RAPL | PROC_THERMAL_FEATURE_FIVR | PROC_THERMAL_FEATURE_DVFS | PROC_THERMAL_FEATURE_MBOX) },
+       { PCI_DEVICE_DATA(INTEL, RPL_THERMAL, PROC_THERMAL_FEATURE_RAPL | PROC_THERMAL_FEATURE_FIVR | PROC_THERMAL_FEATURE_DVFS | PROC_THERMAL_FEATURE_MBOX) },
        { },
 };