]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
i2c-i801: Add Intel Cougar Point device IDs
authorSeth Heasley <seth.heasley@intel.com>
Tue, 2 Mar 2010 11:23:39 +0000 (12:23 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Apr 2010 14:48:00 +0000 (07:48 -0700)
commit 393764340beb595c1ad7dd2d2243c2b6551aaa71 upstream.

Add the Intel Cougar Point (PCH) SMBus controller device IDs.

Signed-off-by: Seth Heasley <seth.heasley@intel.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: maximilian attems <max@stro.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/i2c/busses/i2c-i801
drivers/i2c/busses/Kconfig
drivers/i2c/busses/i2c-i801.c

index 81c0c59a60eae20da2bd33a8037fdceb002f7fa7..e1bb5b261693ead30b736a214c969b20e833f2bc 100644 (file)
@@ -15,7 +15,8 @@ Supported adapters:
   * Intel 82801I (ICH9)
   * Intel EP80579 (Tolapai)
   * Intel 82801JI (ICH10)
-  * Intel PCH
+  * Intel 3400/5 Series (PCH)
+  * Intel Cougar Point (PCH)
    Datasheets: Publicly available at the Intel website
 
 Authors: 
index 5f318ce29770228dfe7c179ee7fc4f79fbb38805..cb9f95cd51b10a6719f9a9598275187628a10300 100644 (file)
@@ -77,7 +77,7 @@ config I2C_AMD8111
          will be called i2c-amd8111.
 
 config I2C_I801
-       tristate "Intel 82801 (ICH)"
+       tristate "Intel 82801 (ICH/PCH)"
        depends on PCI
        help
          If you say yes to this option, support will be included for the Intel
@@ -97,7 +97,8 @@ config I2C_I801
            ICH9
            Tolapai
            ICH10
-           PCH
+           3400/5 Series (PCH)
+           Cougar Point (PCH)
 
          This driver can also be built as a module.  If so, the module
          will be called i2c-i801.
index 5574be2ae6f933c1b3538d3a1091d52fd6ac31e3..e361da73b9869cbd463a5e85cf85be9fbedce7d9 100644 (file)
@@ -41,7 +41,8 @@
   Tolapai               0x5032     32     hard     yes     yes     yes
   ICH10                 0x3a30     32     hard     yes     yes     yes
   ICH10                 0x3a60     32     hard     yes     yes     yes
-  PCH                   0x3b30     32     hard     yes     yes     yes
+  3400/5 Series (PCH)   0x3b30     32     hard     yes     yes     yes
+  Cougar Point (PCH)    0x1c22     32     hard     yes     yes     yes
 
   Features supported by this driver:
   Software PEC                     no
@@ -580,6 +581,7 @@ static struct pci_device_id i801_ids[] = {
        { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH10_4) },
        { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH10_5) },
        { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_PCH_SMBUS) },
+       { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_CPT_SMBUS) },
        { 0, }
 };
 
@@ -709,6 +711,7 @@ static int __devinit i801_probe(struct pci_dev *dev, const struct pci_device_id
        case PCI_DEVICE_ID_INTEL_ICH10_4:
        case PCI_DEVICE_ID_INTEL_ICH10_5:
        case PCI_DEVICE_ID_INTEL_PCH_SMBUS:
+       case PCI_DEVICE_ID_INTEL_CPT_SMBUS:
                i801_features |= FEATURE_I2C_BLOCK_READ;
                /* fall through */
        case PCI_DEVICE_ID_INTEL_82801DB_3: