Angel Pons | 2712398 | 2020-04-05 13:22:30 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 2 | |
Furquan Shaikh | 76c392d | 2017-04-13 14:15:56 -0700 | [diff] [blame] | 3 | #include <variant/ec.h> |
| 4 | #include <variant/gpio.h> |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 5 | |
Furquan Shaikh | 76cedd2 | 2020-05-02 10:24:23 -0700 | [diff] [blame] | 6 | #include <acpi/acpi.h> |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -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, |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 13 | 0x20110725 // OEM revision |
| 14 | ) |
| 15 | { |
Kyösti Mälkki | cf246d5 | 2021-01-21 08:17:00 +0200 | [diff] [blame] | 16 | #include <acpi/dsdt_top.asl> |
Subrata Banik | 6577ec4 | 2020-10-03 23:07:36 +0530 | [diff] [blame] | 17 | #include <soc/intel/common/block/acpi/acpi/platform.asl> |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 18 | |
| 19 | /* global NVS and variables */ |
Michael Niewöhner | fbcfb63 | 2021-09-26 18:41:24 +0200 | [diff] [blame] | 20 | #include <soc/intel/common/block/acpi/acpi/globalnvs.asl> |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 21 | |
| 22 | /* CPU */ |
Arthur Heymans | aaced4a | 2018-11-28 13:53:15 +0100 | [diff] [blame] | 23 | #include <cpu/intel/common/acpi/cpu.asl> |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 24 | |
| 25 | Scope (\_SB) |
| 26 | { |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 27 | Device (PCI0) |
| 28 | { |
Sowmya | fa7d0a8 | 2017-04-04 22:50:43 +0530 | [diff] [blame] | 29 | /* Image processing unit */ |
| 30 | #include <soc/intel/skylake/acpi/ipu.asl> |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 31 | #include <soc/intel/skylake/acpi/systemagent.asl> |
| 32 | #include <soc/intel/skylake/acpi/pch.asl> |
Matt DeVillier | 8f42472 | 2019-11-27 22:55:43 -0600 | [diff] [blame] | 33 | #include <drivers/intel/gma/acpi/default_brightness_levels.asl> |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 34 | } |
| 35 | } |
| 36 | |
Julius Werner | cd49cce | 2019-03-05 16:53:33 -0800 | [diff] [blame] | 37 | #if CONFIG(VARIANT_HAS_CAMERA_ACPI) |
Furquan Shaikh | 6d0c7bc | 2017-11-21 22:25:14 -0800 | [diff] [blame] | 38 | /* Camera */ |
| 39 | #include <variant/acpi/camera.asl> |
Furquan Shaikh | fc20ee4 | 2017-12-04 12:43:19 -0800 | [diff] [blame] | 40 | #endif |
V Sowmya | 23e8891 | 2017-05-05 14:39:04 +0530 | [diff] [blame] | 41 | |
Subrata Banik | 2715cdb | 2019-10-30 16:48:19 +0530 | [diff] [blame] | 42 | #include <southbridge/intel/common/acpi/sleepstates.asl> |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 43 | |
| 44 | /* Chrome OS Embedded Controller */ |
| 45 | Scope (\_SB.PCI0.LPCB) |
| 46 | { |
| 47 | /* ACPI code for EC SuperIO functions */ |
| 48 | #include <ec/google/chromeec/acpi/superio.asl> |
| 49 | /* ACPI code for EC functions */ |
| 50 | #include <ec/google/chromeec/acpi/ec.asl> |
| 51 | } |
Sumeet Pawnikar | d56fae1 | 2017-02-20 10:34:01 +0530 | [diff] [blame] | 52 | |
| 53 | Scope (\_SB) |
| 54 | { |
| 55 | /* Dynamic Platform Thermal Framework */ |
Furquan Shaikh | 76c392d | 2017-04-13 14:15:56 -0700 | [diff] [blame] | 56 | #include <variant/acpi/dptf.asl> |
Sumeet Pawnikar | d56fae1 | 2017-02-20 10:34:01 +0530 | [diff] [blame] | 57 | } |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 58 | } |