Angel Pons | 08b5280 | 2020-04-05 13:22:20 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Hannah Williams | 5e83e8b | 2018-02-09 18:35:17 -0800 | [diff] [blame] | 2 | |
| 3 | #include <variant/ec.h> |
| 4 | #include <variant/gpio.h> |
| 5 | |
Furquan Shaikh | 76cedd2 | 2020-05-02 10:24:23 -0700 | [diff] [blame] | 6 | #include <acpi/acpi.h> |
Hannah Williams | 5e83e8b | 2018-02-09 18:35:17 -0800 | [diff] [blame] | 7 | DefinitionBlock( |
| 8 | "dsdt.aml", |
| 9 | "DSDT", |
Elyes HAOUAS | 90d00de | 2020-10-05 16:38:53 +0200 | [diff] [blame] | 10 | ACPI_DSDT_REV_2, |
Elyes HAOUAS | 6d19a20 | 2018-11-22 11:15:29 +0100 | [diff] [blame] | 11 | OEM_ID, |
| 12 | ACPI_TABLE_CREATOR, |
Angel Pons | 621aff9 | 2022-08-14 12:35:22 +0200 | [diff] [blame] | 13 | 0x20110725 |
Hannah Williams | 5e83e8b | 2018-02-09 18:35:17 -0800 | [diff] [blame] | 14 | ) |
| 15 | { |
Kyösti Mälkki | cf246d5 | 2021-01-21 08:17:00 +0200 | [diff] [blame] | 16 | #include <acpi/dsdt_top.asl> |
Hannah Williams | 5e83e8b | 2018-02-09 18:35:17 -0800 | [diff] [blame] | 17 | #include <soc/intel/apollolake/acpi/globalnvs.asl> |
Arthur Heymans | aaced4a | 2018-11-28 13:53:15 +0100 | [diff] [blame] | 18 | #include <cpu/intel/common/acpi/cpu.asl> |
Hannah Williams | 5e83e8b | 2018-02-09 18:35:17 -0800 | [diff] [blame] | 19 | |
| 20 | Scope (\_SB) { |
| 21 | Device (PCI0) |
| 22 | { |
| 23 | #include <soc/intel/apollolake/acpi/northbridge.asl> |
| 24 | #include <soc/intel/apollolake/acpi/southbridge.asl> |
| 25 | #include <soc/intel/apollolake/acpi/pch_hda.asl> |
Matt DeVillier | 2c6a725 | 2020-04-21 01:20:29 -0500 | [diff] [blame] | 26 | #include <drivers/intel/gma/acpi/default_brightness_levels.asl> |
Hannah Williams | 5e83e8b | 2018-02-09 18:35:17 -0800 | [diff] [blame] | 27 | } |
| 28 | } |
| 29 | |
Subrata Banik | 2715cdb | 2019-10-30 16:48:19 +0530 | [diff] [blame] | 30 | #include <southbridge/intel/common/acpi/sleepstates.asl> |
Hannah Williams | 5e83e8b | 2018-02-09 18:35:17 -0800 | [diff] [blame] | 31 | |
Jon Murphy | c4e9045 | 2022-06-28 10:36:23 -0600 | [diff] [blame] | 32 | /* ChromeOS Embedded Controller */ |
Hannah Williams | 5e83e8b | 2018-02-09 18:35:17 -0800 | [diff] [blame] | 33 | Scope (\_SB.PCI0.LPCB) |
| 34 | { |
| 35 | /* ACPI code for EC SuperIO functions */ |
| 36 | #include <ec/google/chromeec/acpi/superio.asl> |
| 37 | /* ACPI code for EC functions */ |
| 38 | #include <ec/google/chromeec/acpi/ec.asl> |
| 39 | } |
Sumeet Pawnikar | e37387c | 2018-04-25 00:53:00 +0530 | [diff] [blame] | 40 | |
| 41 | /* Dynamic Platform Thermal Framework */ |
| 42 | Scope (\_SB) |
| 43 | { |
| 44 | /* Per board variant specific definitions. */ |
| 45 | #include <variant/acpi/dptf.asl> |
| 46 | /* Include soc specific DPTF changes */ |
| 47 | #include <soc/intel/apollolake/acpi/dptf.asl> |
| 48 | /* Include common dptf ASL files */ |
| 49 | #include <soc/intel/common/acpi/dptf/dptf.asl> |
| 50 | } |
Hannah Williams | 5e83e8b | 2018-02-09 18:35:17 -0800 | [diff] [blame] | 51 | } |