soc/intel/meteorlake: Hide PMC and IOM devices

Hide these ACPI device so Windows does not warn about missing device
drivers.

Port of commit 907c85ad48 ("soc/intel/alderlake: Hide PMC and IOM
devices").

BUG=none
TEST=Verified _STA method from ACPI tables in OS. USB-C drive is
detected in OS.

Signed-off-by: Kapil Porwal <kapilporwal@google.com>
Change-Id: Ic62172bee9120d260a3cd60770ef780cb7dce860
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69576
Reviewed-by: Tarun Tuli <taruntuli@google.com>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Kapil Porwal 2022-11-14 18:39:21 +05:30 committed by Eric Lai
parent 0ddeaedbe8
commit c89de227eb
2 changed files with 4 additions and 0 deletions

View File

@ -327,6 +327,8 @@ Scope (\_SB.PCI0)
IOM_BASE_ADDR, IOM_BASE_ADDR_MAX, 0x0,
IOM_BASE_SIZE,,,)
})
/* Hide the device so that Windows does not complain on missing driver */
Name (_STA, 0xB)
}
/*

View File

@ -103,6 +103,8 @@ static void soc_pmc_fill_ssdt(const struct device *dev)
acpigen_write_name_string("_HID", PMC_HID);
acpigen_write_name_string("_DDN", "Intel(R) Meteor 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).