Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39376434 authored by Seth Heasley's avatar Seth Heasley Committed by Jean Delvare
Browse files

i2c-i801: Add Intel Cougar Point device IDs



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

Signed-off-by: default avatarSeth Heasley <seth.heasley@intel.com>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent 4111ecd2
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -15,7 +15,8 @@ Supported adapters:
  * Intel 82801I (ICH9)
  * Intel 82801I (ICH9)
  * Intel EP80579 (Tolapai)
  * Intel EP80579 (Tolapai)
  * Intel 82801JI (ICH10)
  * Intel 82801JI (ICH10)
  * Intel PCH
  * Intel 3400/5 Series (PCH)
  * Intel Cougar Point (PCH)
   Datasheets: Publicly available at the Intel website
   Datasheets: Publicly available at the Intel website


Authors: 
Authors: 
+3 −2
Original line number Original line Diff line number Diff line
@@ -77,7 +77,7 @@ config I2C_AMD8111
	  will be called i2c-amd8111.
	  will be called i2c-amd8111.


config I2C_I801
config I2C_I801
	tristate "Intel 82801 (ICH)"
	tristate "Intel 82801 (ICH/PCH)"
	depends on PCI
	depends on PCI
	help
	help
	  If you say yes to this option, support will be included for the Intel
	  If you say yes to this option, support will be included for the Intel
@@ -97,7 +97,8 @@ config I2C_I801
	    ICH9
	    ICH9
	    Tolapai
	    Tolapai
	    ICH10
	    ICH10
	    PCH
	    3400/5 Series (PCH)
	    Cougar Point (PCH)


	  This driver can also be built as a module.  If so, the module
	  This driver can also be built as a module.  If so, the module
	  will be called i2c-i801.
	  will be called i2c-i801.
+4 −1
Original line number Original line Diff line number Diff line
@@ -41,7 +41,8 @@
  Tolapai               0x5032     32     hard     yes     yes     yes
  Tolapai               0x5032     32     hard     yes     yes     yes
  ICH10                 0x3a30     32     hard     yes     yes     yes
  ICH10                 0x3a30     32     hard     yes     yes     yes
  ICH10                 0x3a60     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:
  Features supported by this driver:
  Software PEC                     no
  Software PEC                     no
@@ -578,6 +579,7 @@ static const 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_4) },
	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH10_5) },
	{ 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_PCH_SMBUS) },
	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_CPT_SMBUS) },
	{ 0, }
	{ 0, }
};
};


@@ -707,6 +709,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_4:
	case PCI_DEVICE_ID_INTEL_ICH10_5:
	case PCI_DEVICE_ID_INTEL_ICH10_5:
	case PCI_DEVICE_ID_INTEL_PCH_SMBUS:
	case PCI_DEVICE_ID_INTEL_PCH_SMBUS:
	case PCI_DEVICE_ID_INTEL_CPT_SMBUS:
		i801_features |= FEATURE_I2C_BLOCK_READ;
		i801_features |= FEATURE_I2C_BLOCK_READ;
		/* fall through */
		/* fall through */
	case PCI_DEVICE_ID_INTEL_82801DB_3:
	case PCI_DEVICE_ID_INTEL_82801DB_3: