Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1336978

[PATCH V4] i2c: i801: Adding Intel Lewisburg support for iTCO

From Alexandra Yates <alexandra.yates@linux.intel.com>
Newsgroups linux.kernel
Subject [PATCH V4] i2c: i801: Adding Intel Lewisburg support for iTCO
Date 2016-02-18 03:20 +0100
Message-ID <r3mme-775-15@gated-at.bofh.it> (permalink)
References (4 earlier) <qYAJc-8hU-25@gated-at.bofh.it> <lsfl0-6Xf-29@gated-at.bofh.it> <fuaE2-3Bn-45@gated-at.bofh.it> <qYAJd-8hU-27@gated-at.bofh.it> <r3mmd-775-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.
It allows to load watchdog dynamically when the hardware is
present.

Fixes: cdc5a3110e7c ("i2c: i801: add Intel Lewisburg device IDs")
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Wolfram Sang <wsa@the-dreams.de>

Signed-off-by: Alexandra Yates <alexandra.yates@linux.intel.com>
---
 Changes log v1 to v2: Fixed Subject message. No changes in code.
 Changes log v2 to v3: Clarified commit message. No changes in code.
 Changes log v3 to v4: Fixed patch formating. No changes in code.
 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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH V4] i2c: i801: Adding Intel Lewisburg support for iTCO  Alexandra Yates <alexandra.yates@linux.intel.com> - 2016-02-18 03:20 +0100
  [PATCH V4] i2c: i801: Adding Intel Lewisburg support for iTCO Alexandra Yates <alexandra.yates@linux.intel.com> - 2016-02-18 03:20 +0100
    Re: [PATCH V4] i2c: i801: Adding Intel Lewisburg support for iTCO Wolfram Sang <wsa@the-dreams.de> - 2016-02-18 13:20 +0100

csiph-web