From patchwork Fri Apr 8 12:29:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mika Westerberg X-Patchwork-Id: 607997 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3qhJgf5Nlwz9t3V for ; Fri, 8 Apr 2016 22:29:50 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754189AbcDHM3t (ORCPT ); Fri, 8 Apr 2016 08:29:49 -0400 Received: from mga11.intel.com ([192.55.52.93]:58409 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754160AbcDHM3s (ORCPT ); Fri, 8 Apr 2016 08:29:48 -0400 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP; 08 Apr 2016 05:29:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,449,1455004800"; d="scan'208";a="928254981" Received: from black.fi.intel.com ([10.237.72.93]) by orsmga001.jf.intel.com with ESMTP; 08 Apr 2016 05:29:45 -0700 Received: by black.fi.intel.com (Postfix, from userid 1001) id 26817117; Fri, 8 Apr 2016 15:29:43 +0300 (EEST) From: Mika Westerberg To: Wolfram Sang Cc: Seth Heasley , Neil Horman , scott.lawson@intel.com, alexandra.yates@intel.com, Andy Shevchenko , Mika Westerberg , linux-i2c@vger.kernel.org Subject: [RESEND PATCH] i2c: ismt: Add Intel DNV PCI ID Date: Fri, 8 Apr 2016 15:29:43 +0300 Message-Id: <1460118583-134008-1-git-send-email-mika.westerberg@linux.intel.com> X-Mailer: git-send-email 2.8.0.rc3 Sender: linux-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Intel DNV has the same iSMT SMBus host controller than Intel Avoton. Add DNV PCI ID to the list of supported devices. Signed-off-by: Mika Westerberg --- Wolfram, This is the same patch that conflicted with another patch by Alexandra [1]. We have now verified that it is the iSMT driver that is compatible with this particular PCI ID (not i2c-i801.c). Not tested on a real hardware as I do not have such machine available. [1] https://patchwork.ozlabs.org/patch/584758/ drivers/i2c/busses/i2c-ismt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/i2c/busses/i2c-ismt.c b/drivers/i2c/busses/i2c-ismt.c index 7ba795b24e75..24c48e899a22 100644 --- a/drivers/i2c/busses/i2c-ismt.c +++ b/drivers/i2c/busses/i2c-ismt.c @@ -76,6 +76,7 @@ #define PCI_DEVICE_ID_INTEL_S1200_SMT0 0x0c59 #define PCI_DEVICE_ID_INTEL_S1200_SMT1 0x0c5a #define PCI_DEVICE_ID_INTEL_AVOTON_SMT 0x1f15 +#define PCI_DEVICE_ID_INTEL_DNV_SMT 0x19ac #define ISMT_DESC_ENTRIES 2 /* number of descriptor entries */ #define ISMT_MAX_RETRIES 3 /* number of SMBus retries to attempt */ @@ -181,6 +182,7 @@ static const struct pci_device_id ismt_ids[] = { { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_S1200_SMT0) }, { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_S1200_SMT1) }, { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_AVOTON_SMT) }, + { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_DNV_SMT) }, { 0, } };