Angel Pons | 89ab250 | 2020-04-03 01:22:28 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Alexander Couzens | db50856 | 2016-10-12 04:44:19 +0200 | [diff] [blame] | 2 | |
| 3 | #define THINKPAD_EC_GPE 17 |
| 4 | #define BRIGHTNESS_UP \_SB.PCI0.GFX0.INCB |
| 5 | #define BRIGHTNESS_DOWN \_SB.PCI0.GFX0.DECB |
Alexander Couzens | db50856 | 2016-10-12 04:44:19 +0200 | [diff] [blame] | 6 | #define EC_LENOVO_H8_ME_WORKAROUND 1 |
Nicola Corna | fab9ae8 | 2019-02-18 17:44:18 +0100 | [diff] [blame] | 7 | #define EC_LENOVO_H8_ALT_FN_F2F3_LAYOUT 1 |
Alexander Couzens | db50856 | 2016-10-12 04:44:19 +0200 | [diff] [blame] | 8 | |
Furquan Shaikh | 76cedd2 | 2020-05-02 10:24:23 -0700 | [diff] [blame] | 9 | #include <acpi/acpi.h> |
Alexander Couzens | db50856 | 2016-10-12 04:44:19 +0200 | [diff] [blame] | 10 | DefinitionBlock( |
| 11 | "dsdt.aml", |
| 12 | "DSDT", |
Elyes HAOUAS | 90d00de | 2020-10-05 16:38:53 +0200 | [diff] [blame] | 13 | ACPI_DSDT_REV_2, |
Elyes HAOUAS | 6d19a20 | 2018-11-22 11:15:29 +0100 | [diff] [blame] | 14 | OEM_ID, |
| 15 | ACPI_TABLE_CREATOR, |
Alexander Couzens | db50856 | 2016-10-12 04:44:19 +0200 | [diff] [blame] | 16 | 0x20141018 // OEM revision |
| 17 | ) |
| 18 | { |
Kyösti Mälkki | cf246d5 | 2021-01-21 08:17:00 +0200 | [diff] [blame] | 19 | #include <acpi/dsdt_top.asl> |
Arthur Heymans | 6c13b04 | 2019-11-02 17:19:26 +0100 | [diff] [blame] | 20 | #include <southbridge/intel/common/acpi/platform.asl> |
Alexander Couzens | db50856 | 2016-10-12 04:44:19 +0200 | [diff] [blame] | 21 | |
Alexander Couzens | db50856 | 2016-10-12 04:44:19 +0200 | [diff] [blame] | 22 | #include "acpi/platform.asl" |
| 23 | |
| 24 | // global NVS and variables |
| 25 | #include <southbridge/intel/bd82x6x/acpi/globalnvs.asl> |
| 26 | |
Arthur Heymans | aaced4a | 2018-11-28 13:53:15 +0100 | [diff] [blame] | 27 | #include <cpu/intel/common/acpi/cpu.asl> |
Alexander Couzens | db50856 | 2016-10-12 04:44:19 +0200 | [diff] [blame] | 28 | |
| 29 | Scope (\_SB) { |
| 30 | Device (PCI0) |
| 31 | { |
| 32 | #include <northbridge/intel/sandybridge/acpi/sandybridge.asl> |
| 33 | #include <southbridge/intel/bd82x6x/acpi/pch.asl> |
Alexander Couzens | db50856 | 2016-10-12 04:44:19 +0200 | [diff] [blame] | 34 | |
| 35 | #include <drivers/intel/gma/acpi/default_brightness_levels.asl> |
| 36 | } |
| 37 | } |
| 38 | |
Subrata Banik | 2715cdb | 2019-10-30 16:48:19 +0530 | [diff] [blame] | 39 | #include <southbridge/intel/common/acpi/sleepstates.asl> |
Alexander Couzens | db50856 | 2016-10-12 04:44:19 +0200 | [diff] [blame] | 40 | } |