diff options
author | Subrata Banik <subratabanik@google.com> | 2024-10-29 15:29:21 +0530 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2024-10-30 07:21:06 +0000 |
commit | 59bf7dd62fa121f6d98143a93dd48f745e404165 (patch) | |
tree | 59ea146d5e251b88977ef3a8fe36d82ff5fcedb5 /src | |
parent | 9ae146df586f4f7f169b204efa80811428ba2385 (diff) |
soc/intel/pantherlake: Add ACPI names for missing devices
This patch adds ACPI names for the following devices:
- THC0 (PCI: 00:10.0)
- THC1 (PCI: 00:10.1)
- SRAM (PCI: 00:14.2)
- FSPI (PCI: 00:1f.5)
TEST=Able to build and boot google/fatcat without any error.
w/o this patch:
[ERROR] Missing ACPI Name for PCI: 00:10.0
[ERROR] Missing ACPI Name for PCI: 00:10.1
[ERROR] Missing ACPI Name for PCI: 00:14.2
[ERROR] Missing ACPI Name for PCI: 00:1f.5
Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: I474089607522a4bd13375cc34b8f8645ca3663d9
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84910
Reviewed-by: Pranava Y N <pranavayn@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/intel/pantherlake/chip.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/intel/pantherlake/chip.c b/src/soc/intel/pantherlake/chip.c index 2d9f67a5df..2202878549 100644 --- a/src/soc/intel/pantherlake/chip.c +++ b/src/soc/intel/pantherlake/chip.c @@ -80,10 +80,13 @@ const char *soc_acpi_name(const struct device *dev) case PCI_DEVFN_TBT1: return "TRP1"; case PCI_DEVFN_TBT2: return "TRP2"; case PCI_DEVFN_TBT3: return "TRP3"; + case PCI_DEVFN_THC0: return "THC0"; + case PCI_DEVFN_THC1: return "THC1"; case PCI_DEVFN_NPU: return "NPU"; case PCI_DEVFN_IPU: return "IPU"; case PCI_DEVFN_ISH: return "ISHB"; case PCI_DEVFN_XHCI: return "XHCI"; + case PCI_DEVFN_SRAM: return "SRAM"; case PCI_DEVFN_I2C0: return "I2C0"; case PCI_DEVFN_I2C1: return "I2C1"; case PCI_DEVFN_I2C2: return "I2C2"; @@ -111,6 +114,7 @@ const char *soc_acpi_name(const struct device *dev) case PCI_DEVFN_GSPI1: return "SPI1"; /* Keeping ACPI device name coherent with ec.asl */ case PCI_DEVFN_ESPI: return "LPCB"; + case PCI_DEVFN_SPI: return "FSPI"; case PCI_DEVFN_HDA: return "HDAS"; case PCI_DEVFN_SMBUS: return "SBUS"; case PCI_DEVFN_GBE: return "GLAN"; |