soc/intel/alderlake: Hide PMC and IOM devices

Change-Id: Ib1181812eaf8517a2eb4485f01e8ca2486dfb99f
This commit is contained in:
Jeremy Soller
2022-05-26 09:58:24 -06:00
committed by Tim Crawford
parent 8482a83d1d
commit 880501405b
2 changed files with 4 additions and 0 deletions

View File

@@ -323,6 +323,8 @@ Scope (\_SB.PCI0)
Name (_CRS, ResourceTemplate () { Name (_CRS, ResourceTemplate () {
Memory32Fixed (ReadWrite, IOM_BASE_ADDRESS, IOM_BASE_SIZE) Memory32Fixed (ReadWrite, IOM_BASE_ADDRESS, IOM_BASE_SIZE)
}) })
/* Hide the device so that Windows does not complain on missing driver */
Name (_STA, 0xB)
} }
/* /*

View File

@@ -107,6 +107,8 @@ static void soc_pmc_fill_ssdt(const struct device *dev)
acpigen_write_name_string("_HID", PMC_HID); acpigen_write_name_string("_HID", PMC_HID);
acpigen_write_name_string("_DDN", "Intel(R) Alder Lake IPC Controller"); acpigen_write_name_string("_DDN", "Intel(R) Alder Lake IPC Controller");
/* Hide the device so that Windows does not complain on missing driver */
acpigen_write_STA(ACPI_STATUS_DEVICE_HIDDEN_ON);
/* /*
* Part of the PCH's reserved 32 MB MMIO range (0xFC800000 - 0xFE7FFFFF). * Part of the PCH's reserved 32 MB MMIO range (0xFC800000 - 0xFE7FFFFF).