public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Adding Intel Lewisburg support for iTCO
       [not found] <Adding Intel Lewisburg support for iTCO>
@ 2016-02-04 22:37 ` Alexandra Yates
  2016-02-04 23:07   ` Andy Shevchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Alexandra Yates @ 2016-02-04 22:37 UTC (permalink / raw)
  To: jdelvare, wsa, linux-i2c, linux-kernel; +Cc: Alexandra Yates

Starting from Intel Sunrisepoint (Skylake PCH) the iTCO watchdog
resources have been moved to reside under the i801 SMBus host
controller whereas previously they were under the LPC device.

This patch adds Intel lewisburg SMBus support for iTCO device.

Signed-off-by: Alexandra Yates <alexandra.yates@linux.intel.com>
---
 drivers/i2c/busses/i2c-i801.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c
index f62d697..27fa0cb 100644
--- a/drivers/i2c/busses/i2c-i801.c
+++ b/drivers/i2c/busses/i2c-i801.c
@@ -1271,6 +1271,8 @@ static int i801_probe(struct pci_dev *dev, const struct pci_device_id *id)
 	switch (dev->device) {
 	case PCI_DEVICE_ID_INTEL_SUNRISEPOINT_H_SMBUS:
 	case PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_SMBUS:
+	case PCI_DEVICE_ID_INTEL_LEWISBURG_SMBUS:
+	case PCI_DEVICE_ID_INTEL_LEWISBURG_SSKU_SMBUS:
 	case PCI_DEVICE_ID_INTEL_DNV_SMBUS:
 		priv->features |= FEATURE_I2C_BLOCK_READ;
 		priv->features |= FEATURE_IRQ;
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Adding Intel Lewisburg support for iTCO
  2016-02-04 22:37 ` [PATCH] Adding Intel Lewisburg support for iTCO Alexandra Yates
@ 2016-02-04 23:07   ` Andy Shevchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Shevchenko @ 2016-02-04 23:07 UTC (permalink / raw)
  To: Alexandra Yates
  Cc: jdelvare, Wolfram Sang, linux-i2c, linux-kernel@vger.kernel.org

On Fri, Feb 5, 2016 at 12:37 AM, Alexandra Yates
<alexandra.yates@linux.intel.com> wrote:
> Starting from Intel Sunrisepoint (Skylake PCH) the iTCO watchdog
> resources have been moved to reside under the i801 SMBus host
> controller whereas previously they were under the LPC device.
>
> This patch adds Intel lewisburg SMBus support for iTCO device.
>

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>

> Signed-off-by: Alexandra Yates <alexandra.yates@linux.intel.com>
> ---
>  drivers/i2c/busses/i2c-i801.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c
> index f62d697..27fa0cb 100644
> --- a/drivers/i2c/busses/i2c-i801.c
> +++ b/drivers/i2c/busses/i2c-i801.c
> @@ -1271,6 +1271,8 @@ static int i801_probe(struct pci_dev *dev, const struct pci_device_id *id)
>         switch (dev->device) {
>         case PCI_DEVICE_ID_INTEL_SUNRISEPOINT_H_SMBUS:
>         case PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_SMBUS:
> +       case PCI_DEVICE_ID_INTEL_LEWISBURG_SMBUS:
> +       case PCI_DEVICE_ID_INTEL_LEWISBURG_SSKU_SMBUS:
>         case PCI_DEVICE_ID_INTEL_DNV_SMBUS:
>                 priv->features |= FEATURE_I2C_BLOCK_READ;
>                 priv->features |= FEATURE_IRQ;
> --
> 1.9.1
>



-- 
With Best Regards,
Andy Shevchenko

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-04 23:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Adding Intel Lewisburg support for iTCO>
2016-02-04 22:37 ` [PATCH] Adding Intel Lewisburg support for iTCO Alexandra Yates
2016-02-04 23:07   ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox