Skip to content

Commit a3fc0ff

Browse files
jamesdralstonwsakernel
authored andcommitted
i2c: i801: Add Device IDs for Intel Wellsburg PCH
This patch adds the SMBus Device IDs for the Intel Wellsburg PCH Signed-off-by: James Ralston <james.d.ralston@intel.com> Reviewed-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Wolfram Sang <wolfram@the-dreams.de>
1 parent f3b54b9 commit a3fc0ff

3 files changed

Lines changed: 17 additions & 0 deletions

File tree

‎Documentation/i2c/busses/i2c-i801‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Supported adapters:
2323
* Intel Lynx Point (PCH)
2424
* Intel Lynx Point-LP (PCH)
2525
* Intel Avoton (SOC)
26+
* Intel Wellsburg (PCH)
2627
Datasheets: Publicly available at the Intel website
2728

2829
On Intel Patsburg and later chipsets, both the normal host SMBus controller

‎drivers/i2c/busses/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ config I2C_I801
107107
Lynx Point (PCH)
108108
Lynx Point-LP (PCH)
109109
Avoton (SOC)
110+
Wellsburg (PCH)
110111

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

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@
5454
Lynx Point (PCH) 0x8c22 32 hard yes yes yes
5555
Lynx Point-LP (PCH) 0x9c22 32 hard yes yes yes
5656
Avoton (SOC) 0x1f3c 32 hard yes yes yes
57+
Wellsburg (PCH) 0x8d22 32 hard yes yes yes
58+
Wellsburg (PCH) MS 0x8d7d 32 hard yes yes yes
59+
Wellsburg (PCH) MS 0x8d7e 32 hard yes yes yes
60+
Wellsburg (PCH) MS 0x8d7f 32 hard yes yes yes
5761
5862
Features supported by this driver:
5963
Software PEC no
@@ -167,6 +171,10 @@
167171
#define PCI_DEVICE_ID_INTEL_DH89XXCC_SMBUS 0x2330
168172
#define PCI_DEVICE_ID_INTEL_5_3400_SERIES_SMBUS 0x3b30
169173
#define PCI_DEVICE_ID_INTEL_LYNXPOINT_SMBUS 0x8c22
174+
#define PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS 0x8d22
175+
#define PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS_MS0 0x8d7d
176+
#define PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS_MS1 0x8d7e
177+
#define PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS_MS2 0x8d7f
170178
#define PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_SMBUS 0x9c22
171179

172180
struct i801_mux_config {
@@ -801,6 +809,10 @@ static DEFINE_PCI_DEVICE_TABLE(i801_ids) = {
801809
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_LYNXPOINT_SMBUS) },
802810
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_SMBUS) },
803811
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_AVOTON_SMBUS) },
812+
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS) },
813+
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS_MS0) },
814+
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS_MS1) },
815+
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS_MS2) },
804816
{ 0, }
805817
};
806818

@@ -1106,6 +1118,9 @@ static int i801_probe(struct pci_dev *dev, const struct pci_device_id *id)
11061118
case PCI_DEVICE_ID_INTEL_PATSBURG_SMBUS_IDF0:
11071119
case PCI_DEVICE_ID_INTEL_PATSBURG_SMBUS_IDF1:
11081120
case PCI_DEVICE_ID_INTEL_PATSBURG_SMBUS_IDF2:
1121+
case PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS_MS0:
1122+
case PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS_MS1:
1123+
case PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS_MS2:
11091124
priv->features |= FEATURE_IDF;
11101125
/* fall through */
11111126
default:

0 commit comments

Comments
 (0)