diff options
Diffstat (limited to 'src/soc/amd/common/acpi/acpi_wake_source.asl')
-rw-r--r-- | src/soc/amd/common/acpi/acpi_wake_source.asl | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/soc/amd/common/acpi/acpi_wake_source.asl b/src/soc/amd/common/acpi/acpi_wake_source.asl new file mode 100644 index 0000000000..de9cb25796 --- /dev/null +++ b/src/soc/amd/common/acpi/acpi_wake_source.asl @@ -0,0 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +/* The SoC-specific code needs to provide the PM1I and GPEI fields */ + +Scope (\_SB) +{ + Method (_SWS) + { + /* Index into PM1 for device that caused wake */ + Return (\PM1I) + } +} + +Scope (\_GPE) +{ + Method (_SWS) + { + /* Index into GPE for device that caused wake */ + Return (\GPEI) + } +} |