mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Zhang, Rui" <rui.zhang@intel.com>
To: "srinivas.pandruvada@linux.intel.com" 
	<srinivas.pandruvada@linux.intel.com>,
	"rafael@kernel.org" <rafael@kernel.org>,
	"tim@linux4.de" <tim@linux4.de>
Cc: "tushar.n.dave@intel.com" <tushar.n.dave@intel.com>,
	"linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] thermal: intel: pch: Add support for Wellsburg PCH
Date: Sat, 21 Jan 2023 05:01:16 +0000	[thread overview]
Message-ID: <498ed05c0c4fcd9d1459313279aa4105ff514650.camel@intel.com> (raw)
In-Reply-To: <5b145975c781b9a8165acea037192f38f9a6d87b.camel@linux.intel.com>

On Fri, 2023-01-20 at 09:50 -0800, srinivas pandruvada wrote:
> On Fri, 2023-01-20 at 17:40 +0100, Rafael J. Wysocki wrote:
> > On Sat, Jan 7, 2023 at 8:42 PM Tim Zimmermann <tim@linux4.de>
> > wrote:
> > > This adds the PCI ID for the Wellsburg C610 series chipset PCH.
> > > The
> > > driver can read the temperature from the Wellsburg PCH with only
> > > the PCI
> > > ID added and no other modifications.
> > > 
> > > Signed-off-by: Tim Zimmermann <tim@linux4.de>
> > 
> > Rui, Srinivas, any objections to this one?
> No objection.
> 
And no objections from me.

thanks,
rui

> Thanks,
> Srinivas
> 
> > > ---
> > >  drivers/thermal/intel/intel_pch_thermal.c | 8 ++++++++
> > >  1 file changed, 8 insertions(+)
> > > 
> > > diff --git a/drivers/thermal/intel/intel_pch_thermal.c
> > > b/drivers/thermal/intel/intel_pch_thermal.c
> > > index dabf11a687a1..9e27f430e034 100644
> > > --- a/drivers/thermal/intel/intel_pch_thermal.c
> > > +++ b/drivers/thermal/intel/intel_pch_thermal.c
> > > @@ -29,6 +29,7 @@
> > >  #define PCH_THERMAL_DID_CNL_LP 0x02F9 /* CNL-LP PCH */
> > >  #define PCH_THERMAL_DID_CML_H  0X06F9 /* CML-H PCH */
> > >  #define PCH_THERMAL_DID_LWB    0xA1B1 /* Lewisburg PCH */
> > > +#define PCH_THERMAL_DID_WBG    0x8D24 /* Wellsburg PCH */
> > > 
> > >  /* Wildcat Point-LP  PCH Thermal registers */
> > >  #define WPT_TEMP       0x0000  /* Temperature */
> > > @@ -350,6 +351,7 @@ enum board_ids {
> > >         board_cnl,
> > >         board_cml,
> > >         board_lwb,
> > > +       board_wbg,
> > >  };
> > > 
> > >  static const struct board_info {
> > > @@ -380,6 +382,10 @@ static const struct board_info {
> > >                 .name = "pch_lewisburg",
> > >                 .ops = &pch_dev_ops_wpt,
> > >         },
> > > +       [board_wbg] = {
> > > +               .name = "pch_wellsburg",
> > > +               .ops = &pch_dev_ops_wpt,
> > > +       },
> > >  };
> > > 
> > >  static int intel_pch_thermal_probe(struct pci_dev *pdev,
> > > @@ -495,6 +501,8 @@ static const struct pci_device_id
> > > intel_pch_thermal_id[] = {
> > >                 .driver_data = board_cml, },
> > >         { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCH_THERMAL_DID_LWB),
> > >                 .driver_data = board_lwb, },
> > > +       { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCH_THERMAL_DID_WBG),
> > > +               .driver_data = board_wbg, },
> > >         { 0, },
> > >  };
> > >  MODULE_DEVICE_TABLE(pci, intel_pch_thermal_id);
> > > --
> > > 2.39.0
> > > 

  reply	other threads:[~2023-01-21  5:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-07 19:25 Tim Zimmermann
2023-01-20 16:40 ` Rafael J. Wysocki
2023-01-20 17:50   ` srinivas pandruvada
2023-01-21  5:01     ` Zhang, Rui [this message]
2023-01-24 14:47       ` Rafael J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=498ed05c0c4fcd9d1459313279aa4105ff514650.camel@intel.com \
    --to=rui.zhang@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=rafael@kernel.org \
    --cc=srinivas.pandruvada@linux.intel.com \
    --cc=tim@linux4.de \
    --cc=tushar.n.dave@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®