summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Compostella <jeremy.compostella@intel.com>2023-10-26 16:02:47 -0700
committerFelix Held <felix-coreboot@felixheld.de>2023-11-10 15:28:47 +0000
commit47cb8b17abe9a393e4be948d23ca524fc8175f7e (patch)
treec881ad299f800f03557897e6032de9f20b3d82db
parent7c90cb72c1fc9c9a3ea2f349067597fe94b97bd7 (diff)
soc/intel/meteorlake: Set DTT PCI device IRQ to INT_A/PIRQ_A
The Dynamic Tuning Technology (DTT) device IRQ is not programmable and is INT_A/PIRQ_A (IRQ 16). Reference: Meteor Lake U/H and U Type4 External Design Specification External Design Document (657165) TEST=Linux driver successfully uses IRQ 16 on rex. Without this patch it was binding IRQ 18 but interrupts were going to IRQ 16. Change-Id: I2cbb9dd41f27c40a29346be325bb9c46d1061afb Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/78953 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com>
-rw-r--r--src/soc/intel/meteorlake/fsp_params.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/soc/intel/meteorlake/fsp_params.c b/src/soc/intel/meteorlake/fsp_params.c
index 5ec9cf423e..c3c478544e 100644
--- a/src/soc/intel/meteorlake/fsp_params.c
+++ b/src/soc/intel/meteorlake/fsp_params.c
@@ -63,7 +63,9 @@ static const struct slot_irq_constraints irq_constraints[] = {
{
.slot = PCI_DEV_SLOT_DPTF,
.fns = {
- ANY_PIRQ(PCI_DEVFN_DPTF),
+ /* Dynamic Tuning Technology (DTT) device IRQ is not
+ programmable and is INT_A/PIRQ_A (IRQ 16) */
+ FIXED_INT_PIRQ(PCI_DEVFN_DPTF, PCI_INT_A, PIRQ_A),
},
},
{