From 35741f35ee08d69e697583c5a91e5d632ded0ab8 Mon Sep 17 00:00:00 2001 From: Cliff Huang Date: Fri, 22 Nov 2024 16:18:16 -0800 Subject: soc/intel/ptl: Change ACPI name for IPU Change IPU name to 4 characters: IPU0 While the ACPI device name is 'IPU', some part of generated SSDT looks for 'IPU_', since by convention, the names less than 4 characters is padded with underscope ("_"). Please see APCI spec 5.3 ACPI Namespace. BUG=none TEST=Boot fatcat board to OS and check that IPU device name is IPU0 in the SSDT. Signed-off-by: Cliff Huang Change-Id: I60ce2998cb1d97589c0f7544ce8dc92c12a2b8c9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/85274 Reviewed-by: Subrata Banik Tested-by: build bot (Jenkins) --- src/soc/intel/pantherlake/chip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/intel/pantherlake/chip.c b/src/soc/intel/pantherlake/chip.c index 61e00fa342..2c79fe7703 100644 --- a/src/soc/intel/pantherlake/chip.c +++ b/src/soc/intel/pantherlake/chip.c @@ -84,7 +84,7 @@ const char *soc_acpi_name(const struct device *dev) 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_IPU: return "IPU0"; case PCI_DEVFN_ISH: return "ISHB"; case PCI_DEVFN_XHCI: return "XHCI"; case PCI_DEVFN_SRAM: return "SRAM"; -- cgit v1.2.3