From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1424753AbcBRCRa (ORCPT ); Wed, 17 Feb 2016 21:17:30 -0500 Received: from mga02.intel.com ([134.134.136.20]:19778 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1424720AbcBRCRP (ORCPT ); Wed, 17 Feb 2016 21:17:15 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,463,1449561600"; d="scan'208";a="888276641" From: Alexandra Yates To: wsa@the-dreams.de, jdelvare@suse.de, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Alexandra Yates Subject: [PATCH V4] i2c: i801: Adding Intel Lewisburg support for iTCO Date: Wed, 17 Feb 2016 18:21:21 -0800 Message-Id: <1455762081-11947-2-git-send-email-alexandra.yates@linux.intel.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1455762081-11947-1-git-send-email-alexandra.yates@linux.intel.com> References: <1455762081-11947-1-git-send-email-alexandra.yates@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Reviewed-by: Wolfram Sang Signed-off-by: Alexandra Yates --- 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