summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2024-07-17 11:33:53 +0000
committerSubrata Banik <subratabanik@google.com>2024-07-19 03:55:53 +0000
commitf79e0893cdd1fab0e53bc34f414445777559a0ad (patch)
tree6cff348c33d5e88182be6e1977b393a8cddea87a /src
parent92ce7861837c9d901235a5538750bd52046787f9 (diff)
device/pci_ids: Add new Intel PTL device IDs for Audio
This patch adds new Audio (HDA/DSP) PCI device IDs for Intel PTL-U and PTL-H. Additionally, updates the Audio 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: I3c9e420a6ae19d00fb5510c99d4c219dc43ad3c0 Signed-off-by: Subrata Banik <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83516 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/include/device/pci_ids.h24
-rw-r--r--src/soc/intel/common/block/dsp/dsp.c24
-rw-r--r--src/soc/intel/common/block/hda/hda.c24
3 files changed, 48 insertions, 24 deletions
diff --git a/src/include/device/pci_ids.h b/src/include/device/pci_ids.h
index dac7508eba..716f386830 100644
--- a/src/include/device/pci_ids.h
+++ b/src/include/device/pci_ids.h
@@ -4617,14 +4617,22 @@
#define PCI_DID_INTEL_LNL_AUDIO_7 0xa82e
#define PCI_DID_INTEL_LNL_AUDIO_8 0xa82f
-#define PCI_DID_INTEL_PTL_AUDIO_1 0xe428
-#define PCI_DID_INTEL_PTL_AUDIO_2 0xe429
-#define PCI_DID_INTEL_PTL_AUDIO_3 0xe42a
-#define PCI_DID_INTEL_PTL_AUDIO_4 0xe42b
-#define PCI_DID_INTEL_PTL_AUDIO_5 0xe42c
-#define PCI_DID_INTEL_PTL_AUDIO_6 0xe42d
-#define PCI_DID_INTEL_PTL_AUDIO_7 0xe42e
-#define PCI_DID_INTEL_PTL_AUDIO_8 0xe42f
+#define PCI_DID_INTEL_PTL_H_AUDIO_1 0xe428
+#define PCI_DID_INTEL_PTL_H_AUDIO_2 0xe429
+#define PCI_DID_INTEL_PTL_H_AUDIO_3 0xe42a
+#define PCI_DID_INTEL_PTL_H_AUDIO_4 0xe42b
+#define PCI_DID_INTEL_PTL_H_AUDIO_5 0xe42c
+#define PCI_DID_INTEL_PTL_H_AUDIO_6 0xe42d
+#define PCI_DID_INTEL_PTL_H_AUDIO_7 0xe42e
+#define PCI_DID_INTEL_PTL_H_AUDIO_8 0xe42f
+#define PCI_DID_INTEL_PTL_U_H_AUDIO_1 0xe328
+#define PCI_DID_INTEL_PTL_U_H_AUDIO_2 0xe329
+#define PCI_DID_INTEL_PTL_U_H_AUDIO_3 0xe32a
+#define PCI_DID_INTEL_PTL_U_H_AUDIO_4 0xe32b
+#define PCI_DID_INTEL_PTL_U_H_AUDIO_5 0xe32c
+#define PCI_DID_INTEL_PTL_U_H_AUDIO_6 0xe32d
+#define PCI_DID_INTEL_PTL_U_H_AUDIO_7 0xe32e
+#define PCI_DID_INTEL_PTL_U_H_AUDIO_8 0xe32f
/* Intel HECI/ME device Ids */
#define PCI_DID_INTEL_LPT_H_MEI 0x8c3a
diff --git a/src/soc/intel/common/block/dsp/dsp.c b/src/soc/intel/common/block/dsp/dsp.c
index 7e8322e382..ab0e1168a4 100644
--- a/src/soc/intel/common/block/dsp/dsp.c
+++ b/src/soc/intel/common/block/dsp/dsp.c
@@ -13,14 +13,22 @@ static struct device_operations dsp_dev_ops = {
};
static const unsigned short pci_device_ids[] = {
- PCI_DID_INTEL_PTL_AUDIO_1,
- PCI_DID_INTEL_PTL_AUDIO_2,
- PCI_DID_INTEL_PTL_AUDIO_3,
- PCI_DID_INTEL_PTL_AUDIO_4,
- PCI_DID_INTEL_PTL_AUDIO_5,
- PCI_DID_INTEL_PTL_AUDIO_6,
- PCI_DID_INTEL_PTL_AUDIO_7,
- PCI_DID_INTEL_PTL_AUDIO_8,
+ PCI_DID_INTEL_PTL_H_AUDIO_1,
+ PCI_DID_INTEL_PTL_H_AUDIO_2,
+ PCI_DID_INTEL_PTL_H_AUDIO_3,
+ PCI_DID_INTEL_PTL_H_AUDIO_4,
+ PCI_DID_INTEL_PTL_H_AUDIO_5,
+ PCI_DID_INTEL_PTL_H_AUDIO_6,
+ PCI_DID_INTEL_PTL_H_AUDIO_7,
+ PCI_DID_INTEL_PTL_H_AUDIO_8,
+ PCI_DID_INTEL_PTL_U_H_AUDIO_1,
+ PCI_DID_INTEL_PTL_U_H_AUDIO_2,
+ PCI_DID_INTEL_PTL_U_H_AUDIO_3,
+ PCI_DID_INTEL_PTL_U_H_AUDIO_4,
+ PCI_DID_INTEL_PTL_U_H_AUDIO_5,
+ PCI_DID_INTEL_PTL_U_H_AUDIO_6,
+ PCI_DID_INTEL_PTL_U_H_AUDIO_7,
+ PCI_DID_INTEL_PTL_U_H_AUDIO_8,
PCI_DID_INTEL_LNL_AUDIO_1,
PCI_DID_INTEL_LNL_AUDIO_2,
PCI_DID_INTEL_LNL_AUDIO_3,
diff --git a/src/soc/intel/common/block/hda/hda.c b/src/soc/intel/common/block/hda/hda.c
index ca50312675..59ecb502af 100644
--- a/src/soc/intel/common/block/hda/hda.c
+++ b/src/soc/intel/common/block/hda/hda.c
@@ -21,14 +21,22 @@ struct device_operations hda_ops = {
};
static const unsigned short pci_device_ids[] = {
- PCI_DID_INTEL_PTL_AUDIO_1,
- PCI_DID_INTEL_PTL_AUDIO_2,
- PCI_DID_INTEL_PTL_AUDIO_3,
- PCI_DID_INTEL_PTL_AUDIO_4,
- PCI_DID_INTEL_PTL_AUDIO_5,
- PCI_DID_INTEL_PTL_AUDIO_6,
- PCI_DID_INTEL_PTL_AUDIO_7,
- PCI_DID_INTEL_PTL_AUDIO_8,
+ PCI_DID_INTEL_PTL_H_AUDIO_1,
+ PCI_DID_INTEL_PTL_H_AUDIO_2,
+ PCI_DID_INTEL_PTL_H_AUDIO_3,
+ PCI_DID_INTEL_PTL_H_AUDIO_4,
+ PCI_DID_INTEL_PTL_H_AUDIO_5,
+ PCI_DID_INTEL_PTL_H_AUDIO_6,
+ PCI_DID_INTEL_PTL_H_AUDIO_7,
+ PCI_DID_INTEL_PTL_H_AUDIO_8,
+ PCI_DID_INTEL_PTL_U_H_AUDIO_1,
+ PCI_DID_INTEL_PTL_U_H_AUDIO_2,
+ PCI_DID_INTEL_PTL_U_H_AUDIO_3,
+ PCI_DID_INTEL_PTL_U_H_AUDIO_4,
+ PCI_DID_INTEL_PTL_U_H_AUDIO_5,
+ PCI_DID_INTEL_PTL_U_H_AUDIO_6,
+ PCI_DID_INTEL_PTL_U_H_AUDIO_7,
+ PCI_DID_INTEL_PTL_U_H_AUDIO_8,
PCI_DID_INTEL_LNL_AUDIO_1,
PCI_DID_INTEL_LNL_AUDIO_2,
PCI_DID_INTEL_LNL_AUDIO_3,