Angel Pons | 89ab250 | 2020-04-03 01:22:28 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Sven Schnelle | e8a7df8 | 2011-02-16 15:04:59 +0000 | [diff] [blame] | 2 | |
Vladimir Serbinenko | eb13b6f | 2013-11-26 10:13:28 +0100 | [diff] [blame] | 3 | #define THINKPAD_EC_GPE 28 |
Vladimir Serbinenko | dd2bc3f | 2014-10-31 09:16:31 +0100 | [diff] [blame] | 4 | #define BRIGHTNESS_UP \_SB.PCI0.GFX0.INCB |
| 5 | #define BRIGHTNESS_DOWN \_SB.PCI0.GFX0.DECB |
Vladimir Serbinenko | eb13b6f | 2013-11-26 10:13:28 +0100 | [diff] [blame] | 6 | |
Furquan Shaikh | 76cedd2 | 2020-05-02 10:24:23 -0700 | [diff] [blame] | 7 | #include <acpi/acpi.h> |
Sven Schnelle | e8a7df8 | 2011-02-16 15:04:59 +0000 | [diff] [blame] | 8 | DefinitionBlock( |
| 9 | "dsdt.aml", |
| 10 | "DSDT", |
Elyes HAOUAS | 90d00de | 2020-10-05 16:38:53 +0200 | [diff] [blame] | 11 | ACPI_DSDT_REV_2, |
Elyes HAOUAS | 6d19a20 | 2018-11-22 11:15:29 +0100 | [diff] [blame] | 12 | OEM_ID, |
| 13 | ACPI_TABLE_CREATOR, |
Sven Schnelle | e8a7df8 | 2011-02-16 15:04:59 +0000 | [diff] [blame] | 14 | 0x20090419 // OEM revision |
| 15 | ) |
| 16 | { |
Kyösti Mälkki | cf246d5 | 2021-01-21 08:17:00 +0200 | [diff] [blame] | 17 | #include <acpi/dsdt_top.asl> |
Sven Schnelle | e8a7df8 | 2011-02-16 15:04:59 +0000 | [diff] [blame] | 18 | #include "acpi/platform.asl" |
| 19 | |
| 20 | // global NVS and variables |
Patrick Georgi | 91bd306 | 2012-02-16 19:16:14 +0100 | [diff] [blame] | 21 | #include <southbridge/intel/i82801gx/acpi/globalnvs.asl> |
Paul Menzel | 8fc5c64 | 2015-10-13 21:19:49 +0200 | [diff] [blame] | 22 | #include <southbridge/intel/common/acpi/platform.asl> |
Sven Schnelle | e8a7df8 | 2011-02-16 15:04:59 +0000 | [diff] [blame] | 23 | |
| 24 | // General Purpose Events |
| 25 | #include "acpi/gpe.asl" |
| 26 | |
| 27 | // mainboard specific devices |
| 28 | #include "acpi/mainboard.asl" |
| 29 | |
Arthur Heymans | 0a4e0fd | 2018-01-06 18:40:23 +0100 | [diff] [blame] | 30 | #include <cpu/intel/speedstep/acpi/cpu.asl> |
Vladimir Serbinenko | 24813c1 | 2014-10-16 10:39:06 +0200 | [diff] [blame] | 31 | |
Sven Schnelle | e8a7df8 | 2011-02-16 15:04:59 +0000 | [diff] [blame] | 32 | Scope (\_SB) { |
| 33 | Device (PCI0) |
| 34 | { |
Patrick Georgi | 91bd306 | 2012-02-16 19:16:14 +0100 | [diff] [blame] | 35 | #include <northbridge/intel/i945/acpi/i945.asl> |
| 36 | #include <southbridge/intel/i82801gx/acpi/ich7.asl> |
Sven Schnelle | e8a7df8 | 2011-02-16 15:04:59 +0000 | [diff] [blame] | 37 | } |
| 38 | } |
| 39 | |
Subrata Banik | 2715cdb | 2019-10-30 16:48:19 +0530 | [diff] [blame] | 40 | #include <southbridge/intel/common/acpi/sleepstates.asl> |
Sven Schnelle | ffcd143 | 2011-04-11 19:43:32 +0000 | [diff] [blame] | 41 | |
| 42 | // Dock support code |
| 43 | #include "acpi/dock.asl" |
Sven Schnelle | e8a7df8 | 2011-02-16 15:04:59 +0000 | [diff] [blame] | 44 | } |