Skip to content

Commit d28dc71

Browse files
jdgastonJean Delvare
authored andcommitted
i2c-i801: Add support for the ICH10
Add the Intel ICH10 SMBus Controller DeviceID's and updates Tolapai support. Signed-off-by: Jason Gaston <jason.d.gaston@intel.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>
1 parent 2638676 commit d28dc71

3 files changed

Lines changed: 12 additions & 3 deletions

File tree

‎Documentation/i2c/busses/i2c-i801‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ Supported adapters:
1212
* Intel 82801G (ICH7)
1313
* Intel 631xESB/632xESB (ESB2)
1414
* Intel 82801H (ICH8)
15-
* Intel ICH9
15+
* Intel 82801I (ICH9)
1616
* Intel Tolapai
17+
* Intel ICH10
1718
Datasheets: Publicly available at the Intel website
1819

1920
Authors:

‎drivers/i2c/busses/Kconfig‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ config I2C_I801
177177
ESB2
178178
ICH8
179179
ICH9
180+
Tolapai
181+
ICH10
180182

181183
This driver can also be built as a module. If so, the module
182184
will be called i2c-i801.

‎drivers/i2c/busses/i2c-i801.c‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@
4040
82801G (ICH7) 0x27da 32 hard yes yes yes
4141
82801H (ICH8) 0x283e 32 hard yes yes yes
4242
82801I (ICH9) 0x2930 32 hard yes yes yes
43-
Tolapai 0x5032 32 hard yes ? ?
43+
Tolapai 0x5032 32 hard yes yes yes
44+
ICH10 0x3a30 32 hard yes yes yes
45+
ICH10 0x3a60 32 hard yes yes yes
4446
4547
Features supported by this driver:
4648
Software PEC no
@@ -588,6 +590,8 @@ static struct pci_device_id i801_ids[] = {
588590
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH8_5) },
589591
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH9_6) },
590592
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_TOLAPAI_1) },
593+
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH10_4) },
594+
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH10_5) },
591595
{ 0, }
592596
};
593597

@@ -608,10 +612,12 @@ static int __devinit i801_probe(struct pci_dev *dev, const struct pci_device_id
608612
case PCI_DEVICE_ID_INTEL_ESB2_17:
609613
case PCI_DEVICE_ID_INTEL_ICH8_5:
610614
case PCI_DEVICE_ID_INTEL_ICH9_6:
615+
case PCI_DEVICE_ID_INTEL_TOLAPAI_1:
616+
case PCI_DEVICE_ID_INTEL_ICH10_4:
617+
case PCI_DEVICE_ID_INTEL_ICH10_5:
611618
i801_features |= FEATURE_I2C_BLOCK_READ;
612619
/* fall through */
613620
case PCI_DEVICE_ID_INTEL_82801DB_3:
614-
case PCI_DEVICE_ID_INTEL_TOLAPAI_1:
615621
i801_features |= FEATURE_SMBUS_PEC;
616622
i801_features |= FEATURE_BLOCK_BUFFER;
617623
break;

0 commit comments

Comments
 (0)