diff mbox

[2/3] thermal: int340x: processor_thermal: Add Coffee Lake support

Message ID 1508449894-58797-3-git-send-email-srinivas.pandruvada@linux.intel.com (mailing list archive)
State Superseded, archived
Delegated to: Zhang Rui
Headers show

Commit Message

Srinivas Pandruvada Oct. 19, 2017, 9:51 p.m. UTC
Add new PCI id for Coffee lake processor thermal device.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
---
 drivers/thermal/int340x_thermal/processor_thermal_device.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Zhang, Rui Nov. 1, 2017, 3:33 a.m. UTC | #1
On Thu, 2017-10-19 at 14:51 -0700, Srinivas Pandruvada wrote:
> Add new PCI id for Coffee lake processor thermal device.
> 
> Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.c
> om>
> ---
>  drivers/thermal/int340x_thermal/processor_thermal_device.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git
> a/drivers/thermal/int340x_thermal/processor_thermal_device.c
> b/drivers/thermal/int340x_thermal/processor_thermal_device.c
> index e724a23..1d9f524 100644
> --- a/drivers/thermal/int340x_thermal/processor_thermal_device.c
> +++ b/drivers/thermal/int340x_thermal/processor_thermal_device.c
> @@ -32,6 +32,7 @@
>  
>  /* CannonLake thermal reporting device */
>  #define PCI_DEVICE_ID_PROC_CNL_THERMAL	0x5a03
> +#define PCI_DEVICE_ID_PROC_CFL_THERMAL	0x3E83
>  
shouldn't it be added into proc_thermal_pci_ids[]?

thanks,
rui
>  /* Braswell thermal reporting device */
>  #define PCI_DEVICE_ID_PROC_BSW_THERMAL	0x22DC
Srinivas Pandruvada Nov. 1, 2017, 4:38 p.m. UTC | #2
On Wed, 2017-11-01 at 11:33 +0800, Zhang Rui wrote:
> On Thu, 2017-10-19 at 14:51 -0700, Srinivas Pandruvada wrote:
> > Add new PCI id for Coffee lake processor thermal device.
> > 
> > Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel
> > .c
> > om>
> > ---
> >  drivers/thermal/int340x_thermal/processor_thermal_device.c | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git
> > a/drivers/thermal/int340x_thermal/processor_thermal_device.c
> > b/drivers/thermal/int340x_thermal/processor_thermal_device.c
> > index e724a23..1d9f524 100644
> > --- a/drivers/thermal/int340x_thermal/processor_thermal_device.c
> > +++ b/drivers/thermal/int340x_thermal/processor_thermal_device.c
> > @@ -32,6 +32,7 @@
> >  
> >  /* CannonLake thermal reporting device */
> >  #define PCI_DEVICE_ID_PROC_CNL_THERMAL	0x5a03
> > +#define PCI_DEVICE_ID_PROC_CFL_THERMAL	0x3E83
> >  
> 
> shouldn't it be added into proc_thermal_pci_ids[]?
Yes. Lost during rebase.
Thanks for finding. I am sending whole series again.

-Srinivas
diff mbox

Patch

diff --git a/drivers/thermal/int340x_thermal/processor_thermal_device.c b/drivers/thermal/int340x_thermal/processor_thermal_device.c
index e724a23..1d9f524 100644
--- a/drivers/thermal/int340x_thermal/processor_thermal_device.c
+++ b/drivers/thermal/int340x_thermal/processor_thermal_device.c
@@ -32,6 +32,7 @@ 
 
 /* CannonLake thermal reporting device */
 #define PCI_DEVICE_ID_PROC_CNL_THERMAL	0x5a03
+#define PCI_DEVICE_ID_PROC_CFL_THERMAL	0x3E83
 
 /* Braswell thermal reporting device */
 #define PCI_DEVICE_ID_PROC_BSW_THERMAL	0x22DC