Skip to content

Commit 12745b0

Browse files
westeriwsakernel
authored andcommitted
i2c: i801: Add support for Intel Emmitsburg PCH
Add support for SMBus controller on Intel Emmitsburg PCH. This is the same IP as used in Cannon Lake and derivatives. Signed-off-by: Mika Westerberg <[email protected]> Signed-off-by: Jarkko Nikula <[email protected]> Reviewed-by: Jean Delvare <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
1 parent db4694e commit 12745b0

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

Documentation/i2c/busses/i2c-i801.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ Supported adapters:
4343
* Intel Elkhart Lake (PCH)
4444
* Intel Tiger Lake (PCH)
4545
* Intel Jasper Lake (SOC)
46+
* Intel Emmitsburg (PCH)
4647

4748
Datasheets: Publicly available at the Intel website
4849

drivers/i2c/busses/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ config I2C_I801
146146
Elkhart Lake (PCH)
147147
Tiger Lake (PCH)
148148
Jasper Lake (SOC)
149+
Emmitsburg (PCH)
149150

150151
This driver can also be built as a module. If so, the module
151152
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
@@ -54,6 +54,7 @@
5454
* Sunrise Point-H (PCH) 0xa123 32 hard yes yes yes
5555
* Sunrise Point-LP (PCH) 0x9d23 32 hard yes yes yes
5656
* DNV (SOC) 0x19df 32 hard yes yes yes
57+
* Emmitsburg (PCH) 0x1bc9 32 hard yes yes yes
5758
* Broxton (SOC) 0x5ad4 32 hard yes yes yes
5859
* Lewisburg (PCH) 0xa1a3 32 hard yes yes yes
5960
* Lewisburg Supersku (PCH) 0xa223 32 hard yes yes yes
@@ -207,6 +208,7 @@
207208
#define PCI_DEVICE_ID_INTEL_BAYTRAIL_SMBUS 0x0f12
208209
#define PCI_DEVICE_ID_INTEL_CDF_SMBUS 0x18df
209210
#define PCI_DEVICE_ID_INTEL_DNV_SMBUS 0x19df
211+
#define PCI_DEVICE_ID_INTEL_EBG_SMBUS 0x1bc9
210212
#define PCI_DEVICE_ID_INTEL_COUGARPOINT_SMBUS 0x1c22
211213
#define PCI_DEVICE_ID_INTEL_PATSBURG_SMBUS 0x1d22
212214
/* Patsburg also has three 'Integrated Device Function' SMBus controllers */
@@ -1062,6 +1064,7 @@ static const struct pci_device_id i801_ids[] = {
10621064
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_SMBUS) },
10631065
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_CDF_SMBUS) },
10641066
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_DNV_SMBUS) },
1067+
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_EBG_SMBUS) },
10651068
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_BROXTON_SMBUS) },
10661069
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_LEWISBURG_SMBUS) },
10671070
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_LEWISBURG_SSKU_SMBUS) },
@@ -1749,6 +1752,7 @@ static int i801_probe(struct pci_dev *dev, const struct pci_device_id *id)
17491752
case PCI_DEVICE_ID_INTEL_ELKHART_LAKE_SMBUS:
17501753
case PCI_DEVICE_ID_INTEL_TIGERLAKE_LP_SMBUS:
17511754
case PCI_DEVICE_ID_INTEL_JASPER_LAKE_SMBUS:
1755+
case PCI_DEVICE_ID_INTEL_EBG_SMBUS:
17521756
priv->features |= FEATURE_BLOCK_PROC;
17531757
priv->features |= FEATURE_I2C_BLOCK_READ;
17541758
priv->features |= FEATURE_IRQ;

0 commit comments

Comments
 (0)