mb/google/brya/var/orisa: Update Type C DisplayPort HPD Configuration
[coreboot2.git] / src / soc / amd / phoenix / acpi / soc.asl
blobee2e9c886b08b0d0d97d1ed1ca57bf063e08bd09
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 /* TODO: Update for Phoenix */
5 #include <soc/amd/common/acpi/pci_root.asl>
6 #include "globalnvs.asl"
8 Scope(\_SB) {
9         /* global utility methods expected within the \_SB scope */
10         #include <arch/x86/acpi/globutil.asl>
12         #include <soc/amd/common/acpi/gpio_bank_lib.asl>
14         #include <soc/amd/common/acpi/osc.asl>
16         #include "pci_int_defs.asl"
18         #include <soc/amd/common/acpi/pci_int.asl>
20         #include "mmio.asl"
22         ROOT_BRIDGE(PCI0)
24         Scope(PCI0) {
25                 #include <soc/amd/common/acpi/lpc.asl>
26         } /* End PCI0 scope */
27 } /* End \_SB scope */
29 #include <soc/amd/common/acpi/alib.asl>
31 #include <soc/amd/common/acpi/platform.asl>
33 #include <soc/amd/common/acpi/sleepstates.asl>
35 #include <soc/amd/common/acpi/upep.asl>
37 #if CONFIG(SOC_AMD_COMMON_BLOCK_ACPI_DPTC)
38 #include <soc/amd/common/acpi/dptc.asl>
39 #endif
41 /* Enable DPTC interface with AMD ALIB */
42 External(\_SB.DPTC, MethodObj)
45  * Platform Notify
46  *
47  * This is called by soc/amd/common/acpi/platform.asl.
48  */
49 Method (PNOT)
51         /* Report AC/DC state to ALIB using WAL1() */
52         \WAL1 ()
54         If (CondRefOf (\_SB.DPTC)) {
55                 \_SB.DPTC()
56         }