thermal: int340x: Add ArrowLake-S PCI ID
PATCH 1/1 thermal: int340x: Add ArrowLake-S PCI ID
Add ArrowLake-S PCI ID for processor thermal device.
Signed-off-by Srinivas Pandruvada <[email protected]>
--- .../thermal/intel/int340x_thermal/processor_thermal_device.h | 1 + .../intel/int340x_thermal/processor_thermal_device_pci.c | 2 ++ 2 files changed, 3 insertions(+)
drivers/thermal/intel/int340x_thermal/processor_thermal_device.h +1 -0
@@ -10,6 +10,7 @@#include <linux/intel_rapl.h> #define PCI_DEVICE_ID_INTEL_ADL_THERMAL 0x461d +#define PCI_DEVICE_ID_INTEL_ARL_S_THERMAL 0xAD03#define PCI_DEVICE_ID_INTEL_BDW_THERMAL 0x1603#define PCI_DEVICE_ID_INTEL_BSW_THERMAL 0x22DC
drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c +2 -0
@@ -390,6 +390,8 @@ static const struct pci_device_id proc_thermal_pci_ids[] = { {PCI_DEVICE_DATA (INTEL ,MTLP_THERMAL ,PROC_THERMAL_FEATURE_RAPL |PROC_THERMAL_FEATURE_FIVR |PROC_THERMAL_FEATURE_DVFS |PROC_THERMAL_FEATURE_DLVR | PROC_THERMAL_FEATURE_WT_HINT) }, + { PCI_DEVICE_DATA(INTEL, ARL_S_THERMAL, PROC_THERMAL_FEATURE_RAPL | + PROC_THERMAL_FEATURE_DVFS | PROC_THERMAL_FEATURE_DLVR | PROC_THERMAL_FEATURE_WT_HINT) }, { PCI_DEVICE_DATA(INTEL, RPL_THERMAL, PROC_THERMAL_FEATURE_RAPL | PROC_THERMAL_FEATURE_FIVR | PROC_THERMAL_FEATURE_DVFS | PROC_THERMAL_FEATURE_WT_REQ) }, { },
Signature · 1 line
2.40.1
Quoted 26 lines · Srinivas Pandruvada
Add ArrowLake-S PCI ID for processor thermal device.
Signed-off-by Srinivas Pandruvada <[email protected]>--- .../thermal/intel/int340x_thermal/processor_thermal_device.h | 1 + .../intel/int340x_thermal/processor_thermal_device_pci.c | 2 ++ 2 files changed, 3 insertions(+)drivers/thermal/intel/int340x_thermal/processor_thermal_device.h +1
-0@@ -10,6 +10,7 @@#include <linux/intel_rapl.h> #define PCI_DEVICE_ID_INTEL_ADL_THERMAL 0x461d +#define PCI_DEVICE_ID_INTEL_ARL_S_THERMAL 0xAD03#define PCI_DEVICE_ID_INTEL_BDW_THERMAL 0x1603#define PCI_DEVICE_ID_INTEL_BSW_THERMAL 0x22DCdrivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c +0
-0
drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c static const struct pci_device_id proc_thermal_pci_ids[] = {
Quoted 9 lines
drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c +2
-1@@ -390,6 +390,8 @@ static const struct pci_device_id proc_thermal_pci_ids[] = { {PCI_DEVICE_DATA (INTEL ,MTLP_THERMAL ,PROC_THERMAL_FEATURE_RAPL |PROC_THERMAL_FEATURE_FIVR |PROC_THERMAL_FEATURE_DVFS |PROC_THERMAL_FEATURE_DLVR | PROC_THERMAL_FEATURE_WT_HINT) }, + { PCI_DEVICE_DATA(INTEL, ARL_S_THERMAL, PROC_THERMAL_FEATURE_RAPL | + PROC_THERMAL_FEATURE_DVFS | PROC_THERMAL_FEATURE_DLVR | PROC_THERMAL_FEATURE_WT_HINT) }, { PCI_DEVICE_DATA(INTEL, RPL_THERMAL, PROC_THERMAL_FEATURE_RAPL | PROC_THERMAL_FEATURE_FIVR | PROC_THERMAL_FEATURE_DVFS | PROC_THERMAL_FEATURE_WT_REQ) }, { }, --
Applied as 6.7 material, thanks!