summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2024-07-17 10:20:54 +0000
committerSubrata Banik <subratabanik@google.com>2024-07-19 03:55:12 +0000
commit49eda5b5243701742a886b3ae49da8b993a78421 (patch)
treea975c26a057103d02b2f95f2681b798a8ebf7fc4
parenta3b1e400d3ef0420c74a2555f38171779c797c6a (diff)
device/pci_ids: Add new Intel PTL device IDs for I2Cx
This patch adds new I2Cx PCI device IDs for Intel PTL-U and PTL-H. Additionally, updates the I2C driver's `pci_device_ids` list to include these new IDs. Source: Intel PTL-EDS vol 1. Document Number 815002, Rev 0.51 Chapter 2 BUG=b:347669091 TEST=Able to build google/fatcat. Change-Id: I79ba0b563146d658521cdd40aabb3ee882f4d187 Signed-off-by: Subrata Banik <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83509 Reviewed-by: Eric Lai <ericllai@google.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/include/device/pci_ids.h18
-rw-r--r--src/soc/intel/common/block/i2c/i2c.c18
2 files changed, 24 insertions, 12 deletions
diff --git a/src/include/device/pci_ids.h b/src/include/device/pci_ids.h
index c7b875ce7b..967f657047 100644
--- a/src/include/device/pci_ids.h
+++ b/src/include/device/pci_ids.h
@@ -3900,12 +3900,18 @@
#define PCI_DID_INTEL_LNL_I2C4 0xa850
#define PCI_DID_INTEL_LNL_I2C5 0xa851
-#define PCI_DID_INTEL_PTL_I2C0 0xe478
-#define PCI_DID_INTEL_PTL_I2C1 0xe479
-#define PCI_DID_INTEL_PTL_I2C2 0xe47a
-#define PCI_DID_INTEL_PTL_I2C3 0xe47b
-#define PCI_DID_INTEL_PTL_I2C4 0xe450
-#define PCI_DID_INTEL_PTL_I2C5 0xe451
+#define PCI_DID_INTEL_PTL_H_I2C0 0xe478
+#define PCI_DID_INTEL_PTL_H_I2C1 0xe479
+#define PCI_DID_INTEL_PTL_H_I2C2 0xe47a
+#define PCI_DID_INTEL_PTL_H_I2C3 0xe47b
+#define PCI_DID_INTEL_PTL_H_I2C4 0xe450
+#define PCI_DID_INTEL_PTL_H_I2C5 0xe451
+#define PCI_DID_INTEL_PTL_U_H_I2C0 0xe378
+#define PCI_DID_INTEL_PTL_U_H_I2C1 0xe379
+#define PCI_DID_INTEL_PTL_U_H_I2C2 0xe37a
+#define PCI_DID_INTEL_PTL_U_H_I2C3 0xe37b
+#define PCI_DID_INTEL_PTL_U_H_I2C4 0xe350
+#define PCI_DID_INTEL_PTL_U_H_I2C5 0xe351
/* Intel UART device Ids */
#define PCI_DID_INTEL_LPT_LP_UART0 0x9c63
diff --git a/src/soc/intel/common/block/i2c/i2c.c b/src/soc/intel/common/block/i2c/i2c.c
index f84b2cd328..679d425a90 100644
--- a/src/soc/intel/common/block/i2c/i2c.c
+++ b/src/soc/intel/common/block/i2c/i2c.c
@@ -174,12 +174,18 @@ struct device_operations i2c_dev_ops = {
};
static const unsigned short pci_device_ids[] = {
- PCI_DID_INTEL_PTL_I2C0,
- PCI_DID_INTEL_PTL_I2C1,
- PCI_DID_INTEL_PTL_I2C2,
- PCI_DID_INTEL_PTL_I2C3,
- PCI_DID_INTEL_PTL_I2C4,
- PCI_DID_INTEL_PTL_I2C5,
+ PCI_DID_INTEL_PTL_H_I2C0,
+ PCI_DID_INTEL_PTL_H_I2C1,
+ PCI_DID_INTEL_PTL_H_I2C2,
+ PCI_DID_INTEL_PTL_H_I2C3,
+ PCI_DID_INTEL_PTL_H_I2C4,
+ PCI_DID_INTEL_PTL_H_I2C5,
+ PCI_DID_INTEL_PTL_U_H_I2C0,
+ PCI_DID_INTEL_PTL_U_H_I2C1,
+ PCI_DID_INTEL_PTL_U_H_I2C2,
+ PCI_DID_INTEL_PTL_U_H_I2C3,
+ PCI_DID_INTEL_PTL_U_H_I2C4,
+ PCI_DID_INTEL_PTL_U_H_I2C5,
PCI_DID_INTEL_LNL_I2C0,
PCI_DID_INTEL_LNL_I2C1,
PCI_DID_INTEL_LNL_I2C2,