Skip to contentSkip to conversation

i2c: ismt: Add Intel DNV PCI ID

PATCH Superseded Mika Westerberg 3 participants 6 messages Feb 18, 2016 – Mar 4, 2016

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c: ismt: Add Intel DNV PCI ID

Intel DNV has the same iSMT SMBus host controller than Intel Avoton. Add DNV PCI ID to the list of supported devices.

---
 drivers/i2c/busses/i2c-ismt.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/i2c/busses/i2c-ismt.c +2 -0
index 7ba795b24e75..24c48e899a22 100644
@@ -76,6 +76,7 @@
 #define PCI_DEVICE_ID_INTEL_S1200_SMT0	0x0c59
 #define PCI_DEVICE_ID_INTEL_S1200_SMT1	0x0c5a
 #define PCI_DEVICE_ID_INTEL_AVOTON_SMT	0x1f15
+#define PCI_DEVICE_ID_INTEL_DNV_SMT	0x19ac
 
 #define ISMT_DESC_ENTRIES	2	/* number of descriptor entries */
 #define ISMT_MAX_RETRIES	3	/* number of SMBus retries to attempt */
@@ -181,6 +182,7 @@ static const struct pci_device_id ismt_ids[] = {
 	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_S1200_SMT0) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_S1200_SMT1) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_AVOTON_SMT) },
+	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_DNV_SMT) },
 	{ 0, }
 };
 
Signature · 1 line
2.7.0
#1 lore raw
Quoted 4 lines · Mika Westerberg

Intel DNV has the same iSMT SMBus host controller than Intel Avoton. Add DNV PCI ID to the list of supported devices.

Wolfram,

Please do not yet apply this patch. It seems to have same PCI ID that Alexandra (Cc'd) added to i2c-i801.c.

Alexandra, are you sure that the PCI ID you added for DNV is actually compatible with i2c-i801.c?

Quoted 26 lines
---
 drivers/i2c/busses/i2c-ismt.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/i2c/busses/i2c-ismt.c +2 -0
index 7ba795b24e75..24c48e899a22 100644
@@ -76,6 +76,7 @@
 #define PCI_DEVICE_ID_INTEL_S1200_SMT0	0x0c59
 #define PCI_DEVICE_ID_INTEL_S1200_SMT1	0x0c5a
 #define PCI_DEVICE_ID_INTEL_AVOTON_SMT	0x1f15
+#define PCI_DEVICE_ID_INTEL_DNV_SMT	0x19ac
 
 #define ISMT_DESC_ENTRIES	2	/* number of descriptor entries */
 #define ISMT_MAX_RETRIES	3	/* number of SMBus retries to attempt */
@@ -181,6 +182,7 @@ static const struct pci_device_id ismt_ids[] = {
 	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_S1200_SMT0) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_S1200_SMT1) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_AVOTON_SMT) },
+	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_DNV_SMT) },
 	{ 0, }
 };
 
Signature · 1 line
2.7.0
#2 lore raw

Hi Mika,

Quoted 15 lines

-----Original Message-----
From: Mika Westerberg [mailto:[email protected]]
Sent: Friday, February 19, 2016 12:39 AM
To: Wolfram Sang <[email protected]>
Cc: Heasley, Seth <[email protected]>; Neil Horman <[email protected]>; [email protected]; Yates, Alexandra <[email protected]>
Subject: Re: [PATCH] i2c: ismt: Add Intel DNV PCI ID

Quoted 4 lines · Mika Westerberg

Intel DNV has the same iSMT SMBus host controller than Intel Avoton. Add DNV PCI ID to the list of supported devices.

Quoted 8 lines

Wolfram,

Please do not yet apply this patch. It seems to have same PCI ID that Alexandra (Cc'd) added to i2c-i801.c.

Alexandra, are you sure that the PCI ID you added for DNV is actually compatible with i2c-i801.c?

I go this device ID from the External Design Specification (EDS) document for DNV. The EDS lists this as the SMBus Controller as follows:
Bus: 0 Device:18 Function:0 Device ID: 0x19AC Description: SMBus Controller - Host

In the same document there is a list of PCI IDs.

Quoted 22 lines
Quoted 10 lines
---
 drivers/i2c/busses/i2c-ismt.c | 2 ++
 1 file changed, 2 insertions(+)
(quoted diff) +0 -0

b/drivers/i2c/busses/i2c-ismt.c index 7ba795b24e75..24c48e899a22 100644

drivers/i2c/busses/i2c-ismt.c line 81

Quoted 6 lines
drivers/i2c/busses/i2c-ismt.c +1 -0
@@ -76,6 +76,7 @@
 #define PCI_DEVICE_ID_INTEL_S1200_SMT0	0x0c59
 #define PCI_DEVICE_ID_INTEL_S1200_SMT1	0x0c5a
 #define PCI_DEVICE_ID_INTEL_AVOTON_SMT	0x1f15
+#define PCI_DEVICE_ID_INTEL_DNV_SMT	0x19ac
 
 #define ISMT_DESC_ENTRIES	2	/* number of descriptor

entries */

drivers/i2c/busses/i2c-ismt.c line 82

Quoted 1 line
drivers/i2c/busses/i2c-ismt.c +0 -0
 #define ISMT_MAX_RETRIES	3	/* number of SMBus retries to

attempt */

drivers/i2c/busses/i2c-ismt.c static const struct pci_device_id ismt_ids[] = { · line 182

Quoted 2 lines
drivers/i2c/busses/i2c-ismt.c +0 -0
@@ -181,6 +182,7 @@ static const struct pci_device_id ismt_ids[] = {
 	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL,

PCI_DEVICE_ID_INTEL_S1200_SMT0) },

Quoted 11 lines

drivers/i2c/busses/i2c-ismt.c static const struct pci_device_id ismt_ids[] = { · line 183

Quoted 1 line
drivers/i2c/busses/i2c-ismt.c +0 -0
 	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL,

PCI_DEVICE_ID_INTEL_S1200_SMT1) },

drivers/i2c/busses/i2c-ismt.c static const struct pci_device_id ismt_ids[] = { · line 184

Quoted 1 line
drivers/i2c/busses/i2c-ismt.c +0 -0
 	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL,

PCI_DEVICE_ID_INTEL_AVOTON_SMT) },

drivers/i2c/busses/i2c-ismt.c static const struct pci_device_id ismt_ids[] = { · line 185

Quoted 1 line
drivers/i2c/busses/i2c-ismt.c +1 -0
+	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL,

PCI_DEVICE_ID_INTEL_DNV_SMT) },

Quoted 5 lines
drivers/i2c/busses/i2c-ismt.c +0 -1
 	{ 0, }
 };
 
--

2.7.0

Thank you,
Alexandra.

#3 lore raw

Mika,

Quoted 4 lines

I go this device ID from the External Design Specification (EDS) document for DNV. The EDS lists this as the SMBus Controller as follows:
Bus: 0 Device:18 Function:0 Device ID: 0x19AC Description: SMBus Controller - Host

In the same document there is a list of PCI IDs.

Did this comment help?

Thanks,

Wolfram

#4 lore raw
Quoted 8 lines · Wolfram Sang

Mika,

Quoted 4 lines

I go this device ID from the External Design Specification (EDS) document for DNV. The EDS lists this as the SMBus Controller as follows:
Bus: 0 Device:18 Function:0 Device ID: 0x19AC Description: SMBus Controller - Host

In the same document there is a list of PCI IDs.

Did this comment help?

Not really.

We are figuring out which one it is and will send a new patch as soon as we know better :)

#5 lore raw
In reply to Mika Westerberg
Quoted 6 lines · Mika Westerberg
Quoted 4 lines · Mika Westerberg

Intel DNV has the same iSMT SMBus host controller than Intel Avoton. Add DNV PCI ID to the list of supported devices.

Quoted 7 lines

Wolfram,

Please do not yet apply this patch. It seems to have same PCI ID that Alexandra (Cc'd) added to i2c-i801.c.

Alexandra, are you sure that the PCI ID you added for DNV is actually compatible with i2c-i801.c?

OK, I also dropped Alexandra's patch until this is cleared.

Thanks for the heads up.