Skip to contentSkip to conversation

thermal: int340x: processor_thermal: Add Jasper Lake support

PATCH In review Srinivas Pandruvada 2 participants 2 messages Dec 12, 2019 – Jan 16, 2020 Thermal

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 thermal: int340x: processor_thermal: Add Jasper Lake support

From: "Swaminathan, Nivedita" <[email protected]>

Added new PCI id for Jasper Lake processor thermal device.

---
 .../thermal/intel/int340x_thermal/processor_thermal_device.c  | 4 ++++
 1 file changed, 4 insertions(+)
drivers/thermal/intel/int340x_thermal/processor_thermal_device.c +4 -0
index 89a015387283..b1fd34516e28 100644
@@ -42,6 +42,9 @@
 /* IceLake thermal reporting device */
 #define PCI_DEVICE_ID_PROC_ICL_THERMAL	0x8a03
 
+/* JasperLake thermal reporting device */
+#define PCI_DEVICE_ID_PROC_JSL_THERMAL	0x4503
+
 #define DRV_NAME "proc_thermal"
 
 struct power_config {
@@ -724,6 +727,7 @@ static const struct pci_device_id proc_thermal_pci_ids[] = {
 	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_PROC_GLK_THERMAL)},
 	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_PROC_ICL_THERMAL),
 		.driver_data = (kernel_ulong_t)&rapl_mmio_hsw, },
+	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_PROC_JSL_THERMAL)},
 	{ 0, },
 };
 
Signature · 1 line
2.17.2
reviewer Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Srinivas Pandruvada

From: "Swaminathan, Nivedita" <[email protected]>

Added new PCI id for Jasper Lake processor thermal device.

Signed-off-by Srinivas Pandruvada <

[email protected]>

Quoted 35 lines
---
 .../thermal/intel/int340x_thermal/processor_thermal_device.c  | 4
++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/thermal/intel/int340x_thermal/processor_thermal_device.c b/drivers/thermal/intel/int340x_thermal/processor_thermal_device.c index 89a015387283..b1fd34516e28 100644
---
a/drivers/thermal/intel/int340x_thermal/processor_thermal_device.c
+++
b/drivers/thermal/intel/int340x_thermal/processor_thermal_device.c

drivers/thermal/intel/int340x_thermal/processor_thermal_device.c +4 -0
@@ -42,6 +42,9 @@
 /* IceLake thermal reporting device */
 #define PCI_DEVICE_ID_PROC_ICL_THERMAL	0x8a03
 
+/* JasperLake thermal reporting device */
+#define PCI_DEVICE_ID_PROC_JSL_THERMAL	0x4503
+
 #define DRV_NAME "proc_thermal"
 
 struct power_config {
@@ -724,6 +727,7 @@ static const struct pci_device_id
 proc_thermal_pci_ids[] = {
 	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL,
 PCI_DEVICE_ID_PROC_GLK_THERMAL)},
 	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL,
 PCI_DEVICE_ID_PROC_ICL_THERMAL),
 		.driver_data = (kernel_ulong_t)&rapl_mmio_hsw, },
+	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL,

PCI_DEVICE_ID_PROC_JSL_THERMAL)},
{ 0, },
};