2020-04-03 01:22:28 +02:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2011-02-16 16:04:59 +01:00
|
|
|
|
2013-11-26 10:13:28 +01:00
|
|
|
#define THINKPAD_EC_GPE 28
|
2014-10-31 09:16:31 +01:00
|
|
|
#define BRIGHTNESS_UP \_SB.PCI0.GFX0.INCB
|
|
|
|
#define BRIGHTNESS_DOWN \_SB.PCI0.GFX0.DECB
|
2013-11-26 10:13:28 +01:00
|
|
|
|
2020-05-02 19:24:23 +02:00
|
|
|
#include <acpi/acpi.h>
|
2011-02-16 16:04:59 +01:00
|
|
|
DefinitionBlock(
|
|
|
|
"dsdt.aml",
|
|
|
|
"DSDT",
|
2020-10-05 16:38:53 +02:00
|
|
|
ACPI_DSDT_REV_2,
|
2018-11-22 11:15:29 +01:00
|
|
|
OEM_ID,
|
|
|
|
ACPI_TABLE_CREATOR,
|
2011-02-16 16:04:59 +01:00
|
|
|
0x20090419 // OEM revision
|
|
|
|
)
|
|
|
|
{
|
2021-01-21 07:17:00 +01:00
|
|
|
#include <acpi/dsdt_top.asl>
|
2011-02-16 16:04:59 +01:00
|
|
|
#include "acpi/platform.asl"
|
|
|
|
|
|
|
|
// global NVS and variables
|
2012-02-16 19:16:14 +01:00
|
|
|
#include <southbridge/intel/i82801gx/acpi/globalnvs.asl>
|
2015-10-13 21:19:49 +02:00
|
|
|
#include <southbridge/intel/common/acpi/platform.asl>
|
2011-02-16 16:04:59 +01:00
|
|
|
|
|
|
|
// General Purpose Events
|
|
|
|
#include "acpi/gpe.asl"
|
|
|
|
|
|
|
|
// mainboard specific devices
|
|
|
|
#include "acpi/mainboard.asl"
|
|
|
|
|
2018-01-06 18:40:23 +01:00
|
|
|
#include <cpu/intel/speedstep/acpi/cpu.asl>
|
2014-10-16 10:39:06 +02:00
|
|
|
|
2011-02-16 16:04:59 +01:00
|
|
|
Scope (\_SB) {
|
|
|
|
Device (PCI0)
|
|
|
|
{
|
2012-02-16 19:16:14 +01:00
|
|
|
#include <northbridge/intel/i945/acpi/i945.asl>
|
|
|
|
#include <southbridge/intel/i82801gx/acpi/ich7.asl>
|
2011-02-16 16:04:59 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-30 12:18:19 +01:00
|
|
|
#include <southbridge/intel/common/acpi/sleepstates.asl>
|
2011-04-11 21:43:32 +02:00
|
|
|
|
|
|
|
// Dock support code
|
|
|
|
#include "acpi/dock.asl"
|
2011-02-16 16:04:59 +01:00
|
|
|
}
|