Skip to content

Commit 332fdae

Browse files
jhnikulawsakernel
authored andcommitted
i2c: i801: Add support for Intel Alder Lake PCH-S
Add PCI ID of SMBus controller on Intel Alder Lake PCH-S Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Reviewed-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Wolfram Sang <wsa@kernel.org>
1 parent d0fa235 commit 332fdae

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

‎Documentation/i2c/busses/i2c-i801.rst‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Supported adapters:
4444
* Intel Tiger Lake (PCH)
4545
* Intel Jasper Lake (SOC)
4646
* Intel Emmitsburg (PCH)
47+
* Intel Alder Lake (PCH)
4748

4849
Datasheets: Publicly available at the Intel website
4950

‎drivers/i2c/busses/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ config I2C_I801
147147
Tiger Lake (PCH)
148148
Jasper Lake (SOC)
149149
Emmitsburg (PCH)
150+
Alder Lake (PCH)
150151

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

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
* Tiger Lake-H (PCH) 0x43a3 32 hard yes yes yes
7272
* Jasper Lake (SOC) 0x4da3 32 hard yes yes yes
7373
* Comet Lake-V (PCH) 0xa3a3 32 hard yes yes yes
74+
* Alder Lake-S (PCH) 0x7aa3 32 hard yes yes yes
7475
*
7576
* Features supported by this driver:
7677
* Software PEC no
@@ -228,6 +229,7 @@
228229
#define PCI_DEVICE_ID_INTEL_ELKHART_LAKE_SMBUS 0x4b23
229230
#define PCI_DEVICE_ID_INTEL_JASPER_LAKE_SMBUS 0x4da3
230231
#define PCI_DEVICE_ID_INTEL_BROXTON_SMBUS 0x5ad4
232+
#define PCI_DEVICE_ID_INTEL_ALDER_LAKE_S_SMBUS 0x7aa3
231233
#define PCI_DEVICE_ID_INTEL_LYNXPOINT_SMBUS 0x8c22
232234
#define PCI_DEVICE_ID_INTEL_WILDCATPOINT_SMBUS 0x8ca2
233235
#define PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS 0x8d22
@@ -1081,6 +1083,7 @@ static const struct pci_device_id i801_ids[] = {
10811083
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_TIGERLAKE_LP_SMBUS) },
10821084
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_TIGERLAKE_H_SMBUS) },
10831085
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_JASPER_LAKE_SMBUS) },
1086+
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ALDER_LAKE_S_SMBUS) },
10841087
{ 0, }
10851088
};
10861089

@@ -1758,6 +1761,7 @@ static int i801_probe(struct pci_dev *dev, const struct pci_device_id *id)
17581761
case PCI_DEVICE_ID_INTEL_TIGERLAKE_H_SMBUS:
17591762
case PCI_DEVICE_ID_INTEL_JASPER_LAKE_SMBUS:
17601763
case PCI_DEVICE_ID_INTEL_EBG_SMBUS:
1764+
case PCI_DEVICE_ID_INTEL_ALDER_LAKE_S_SMBUS:
17611765
priv->features |= FEATURE_BLOCK_PROC;
17621766
priv->features |= FEATURE_I2C_BLOCK_READ;
17631767
priv->features |= FEATURE_IRQ;

0 commit comments

Comments
 (0)