Skip to content

Commit 84d7f2e

Browse files
westeriWolfram Sang
authored andcommitted
i2c: i801: Add support for Intel DNV
Intel DNV SoC has the same legacy SMBus host controller than Intel Sunrisepoint PCH. It also has same iTCO watchdog on the bus. Add DNV PCI ID to the list of supported devices. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
1 parent 09027e0 commit 84d7f2e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/i2c/busses/i2c-i801.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
* BayTrail (SOC) 0x0f12 32 hard yes yes yes
6161
* Sunrise Point-H (PCH) 0xa123 32 hard yes yes yes
6262
* Sunrise Point-LP (PCH) 0x9d23 32 hard yes yes yes
63+
* DNV (SOC) 0x19df 32 hard yes yes yes
6364
*
6465
* Features supported by this driver:
6566
* Software PEC no
@@ -202,6 +203,7 @@
202203
#define PCI_DEVICE_ID_INTEL_WILDCATPOINT_LP_SMBUS 0x9ca2
203204
#define PCI_DEVICE_ID_INTEL_SUNRISEPOINT_H_SMBUS 0xa123
204205
#define PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_SMBUS 0x9d23
206+
#define PCI_DEVICE_ID_INTEL_DNV_SMBUS 0x19df
205207

206208
struct i801_mux_config {
207209
char *gpio_chip;
@@ -863,6 +865,7 @@ static const struct pci_device_id i801_ids[] = {
863865
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_BRASWELL_SMBUS) },
864866
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_SUNRISEPOINT_H_SMBUS) },
865867
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_SMBUS) },
868+
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_DNV_SMBUS) },
866869
{ 0, }
867870
};
868871

@@ -1256,6 +1259,7 @@ static int i801_probe(struct pci_dev *dev, const struct pci_device_id *id)
12561259
switch (dev->device) {
12571260
case PCI_DEVICE_ID_INTEL_SUNRISEPOINT_H_SMBUS:
12581261
case PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_SMBUS:
1262+
case PCI_DEVICE_ID_INTEL_DNV_SMBUS:
12591263
priv->features |= FEATURE_I2C_BLOCK_READ;
12601264
priv->features |= FEATURE_IRQ;
12611265
priv->features |= FEATURE_SMBUS_PEC;

0 commit comments

Comments
 (0)