diff mbox

int340x_thermal/processor_thermal_device: add support to Skylake processors

Message ID 1429318691-5666-1-git-send-email-brian.bian@intel.com (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Brian Bian April 18, 2015, 12:58 a.m. UTC
Signed-off-by: Brian Bian <brian.bian@intel.com>
---
 drivers/thermal/int340x_thermal/processor_thermal_device.c | 4 ++++
 1 file changed, 4 insertions(+)

Comments

srinivas pandruvada April 20, 2015, 5:48 p.m. UTC | #1
There is no commit message here. You may want to atleast a line.
"Added skylake thermal reporting device PCI Id. "

On Fri, 2015-04-17 at 17:58 -0700, Brian Bian wrote: 
> Signed-off-by: Brian Bian <brian.bian@intel.com>
> ---
>  drivers/thermal/int340x_thermal/processor_thermal_device.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/drivers/thermal/int340x_thermal/processor_thermal_device.c b/drivers/thermal/int340x_thermal/processor_thermal_device.c
> index 5e8d8e9..cdfff52 100644
> --- a/drivers/thermal/int340x_thermal/processor_thermal_device.c
> +++ b/drivers/thermal/int340x_thermal/processor_thermal_device.c
> @@ -25,6 +25,9 @@
>  #define PCI_DEVICE_ID_PROC_BDW_THERMAL	0x1603
>  #define PCI_DEVICE_ID_PROC_HSB_THERMAL	0x0A03
>  
> +/* Skylake thermal reporting device */
> +#define PCI_DEVICE_ID_PROC_SKL_THERMAL	0x1903
> +
>  /* Braswell thermal reporting device */
>  #define PCI_DEVICE_ID_PROC_BSW_THERMAL	0x22DC
>  
> @@ -346,6 +349,7 @@ static void  proc_thermal_pci_remove(struct pci_dev *pdev)
>  static const struct pci_device_id proc_thermal_pci_ids[] = {
>  	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_PROC_BDW_THERMAL)},
>  	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_PROC_HSB_THERMAL)},
> +	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_PROC_SKL_THERMAL)},
>  	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_PROC_BSW_THERMAL)},
>  	{ 0, },
>  };


--
To unsubscribe from this list: send the line "unsubscribe linux-pm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/thermal/int340x_thermal/processor_thermal_device.c b/drivers/thermal/int340x_thermal/processor_thermal_device.c
index 5e8d8e9..cdfff52 100644
--- a/drivers/thermal/int340x_thermal/processor_thermal_device.c
+++ b/drivers/thermal/int340x_thermal/processor_thermal_device.c
@@ -25,6 +25,9 @@ 
 #define PCI_DEVICE_ID_PROC_BDW_THERMAL	0x1603
 #define PCI_DEVICE_ID_PROC_HSB_THERMAL	0x0A03
 
+/* Skylake thermal reporting device */
+#define PCI_DEVICE_ID_PROC_SKL_THERMAL	0x1903
+
 /* Braswell thermal reporting device */
 #define PCI_DEVICE_ID_PROC_BSW_THERMAL	0x22DC
 
@@ -346,6 +349,7 @@  static void  proc_thermal_pci_remove(struct pci_dev *pdev)
 static const struct pci_device_id proc_thermal_pci_ids[] = {
 	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_PROC_BDW_THERMAL)},
 	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_PROC_HSB_THERMAL)},
+	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_PROC_SKL_THERMAL)},
 	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_PROC_BSW_THERMAL)},
 	{ 0, },
 };