Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 | |
| 3 | #include <variant/ec.h> |
| 4 | |
| 5 | /* DefinitionBlock Statement */ |
| 6 | #include <acpi/acpi.h> |
| 7 | |
| 8 | DefinitionBlock ( |
Elyes HAOUAS | 2bfaabc | 2020-10-01 17:03:55 +0200 | [diff] [blame] | 9 | "dsdt.aml", |
Elyes HAOUAS | 37509d7 | 2020-10-01 17:11:56 +0200 | [diff] [blame] | 10 | "DSDT", |
Elyes HAOUAS | 90d00de | 2020-10-05 16:38:53 +0200 | [diff] [blame] | 11 | ACPI_DSDT_REV_2, |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 12 | OEM_ID, |
| 13 | ACPI_TABLE_CREATOR, |
| 14 | 0x00010001 /* OEM Revision */ |
| 15 | ) |
| 16 | { /* Start of ASL file */ |
Kyösti Mälkki | cf246d5 | 2021-01-21 08:17:00 +0200 | [diff] [blame] | 17 | #include <acpi/dsdt_top.asl> |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 18 | |
Felix Held | c5d71dc | 2023-01-20 20:47:22 +0100 | [diff] [blame] | 19 | Name(LIDS, 0) |
| 20 | |
Felix Held | f20c355 | 2023-12-19 22:46:39 +0100 | [diff] [blame^] | 21 | #include <globalnvs.asl> |
| 22 | |
Felix Held | ebb6723 | 2022-03-02 15:04:27 +0100 | [diff] [blame] | 23 | /* Power state notification to ALIB */ |
| 24 | #include <pnot.asl> |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 25 | |
| 26 | /* Contains the supported sleep states for this chipset */ |
Raul E Rangel | 8e6059d | 2021-03-03 17:01:46 -0700 | [diff] [blame] | 27 | #include <soc/amd/common/acpi/sleepstates.asl> |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 28 | |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 29 | /* Contains _SWS methods */ |
Felix Held | fca4535 | 2020-06-18 21:14:31 +0200 | [diff] [blame] | 30 | #include <soc/amd/common/acpi/acpi_wake_source.asl> |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 31 | |
| 32 | /* System Bus */ |
| 33 | Scope(\_SB) { /* Start \_SB scope */ |
| 34 | /* global utility methods expected within the \_SB scope */ |
| 35 | #include <arch/x86/acpi/globutil.asl> |
| 36 | |
| 37 | /* Describe the SOC */ |
| 38 | #include <soc.asl> |
| 39 | |
| 40 | } /* End \_SB scope */ |
| 41 | |
| 42 | /* Thermal handler */ |
| 43 | #include <variant/acpi/thermal.asl> |
| 44 | |
Jon Murphy | c4e9045 | 2022-06-28 10:36:23 -0600 | [diff] [blame] | 45 | /* ChromeOS Embedded Controller */ |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 46 | Scope (\_SB.PCI0.LPCB) |
| 47 | { |
| 48 | /* ACPI code for EC SuperIO functions */ |
| 49 | #include <ec/google/chromeec/acpi/superio.asl> |
| 50 | /* ACPI code for EC functions */ |
| 51 | #include <ec/google/chromeec/acpi/ec.asl> |
Raul E Rangel | b3c4132 | 2020-05-20 14:07:41 -0600 | [diff] [blame] | 52 | } |
| 53 | } |
| 54 | /* End of ASL file */ |