Timothy Pearson | 4b373c9 | 2015-04-05 17:54:08 -0500 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2007-2009 coresystems GmbH |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU General Public License as |
| 8 | * published by the Free Software Foundation; version 2 of |
| 9 | * the License. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
Timothy Pearson | 4b373c9 | 2015-04-05 17:54:08 -0500 | [diff] [blame] | 15 | */ |
| 16 | |
| 17 | #define THINKPAD_EC_GPE 17 |
| 18 | #define BRIGHTNESS_UP \_SB.PCI0.GFX0.INCB |
| 19 | #define BRIGHTNESS_DOWN \_SB.PCI0.GFX0.DECB |
| 20 | #define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0 |
| 21 | #define DISPLAY_DEVICE_2_IS_LCD_SCREEN 1 |
| 22 | |
| 23 | DefinitionBlock( |
| 24 | "dsdt.aml", |
| 25 | "DSDT", |
| 26 | 0x03, // DSDT revision: ACPI v3.0 |
| 27 | "COREv4", // OEM id |
| 28 | "COREBOOT", // OEM table id |
| 29 | 0x20090419 // OEM revision |
| 30 | ) |
| 31 | { |
| 32 | // Some generic macros |
| 33 | #include "acpi/platform.asl" |
| 34 | |
| 35 | // global NVS and variables |
| 36 | #include <southbridge/intel/i82801ix/acpi/globalnvs.asl> |
Paul Menzel | bb1b259 | 2015-10-12 19:20:48 +0200 | [diff] [blame] | 37 | #include <southbridge/intel/common/acpi/platform.asl> |
Timothy Pearson | 4b373c9 | 2015-04-05 17:54:08 -0500 | [diff] [blame] | 38 | |
| 39 | // General Purpose Events |
| 40 | #include "acpi/gpe.asl" |
| 41 | |
Paul Menzel | bb1b259 | 2015-10-12 19:20:48 +0200 | [diff] [blame] | 42 | #include <cpu/intel/common/acpi/cpu.asl> |
| 43 | |
Timothy Pearson | 4b373c9 | 2015-04-05 17:54:08 -0500 | [diff] [blame] | 44 | Scope (\_SB) { |
| 45 | Device (PCI0) |
| 46 | { |
| 47 | #include <northbridge/intel/gm45/acpi/gm45.asl> |
| 48 | #include <southbridge/intel/i82801ix/acpi/ich9.asl> |
Nico Huber | 954a55b | 2015-08-27 13:31:46 +0200 | [diff] [blame] | 49 | |
| 50 | #include <drivers/intel/gma/acpi/default_brightness_levels.asl> |
Timothy Pearson | 4b373c9 | 2015-04-05 17:54:08 -0500 | [diff] [blame] | 51 | } |
| 52 | } |
| 53 | |
| 54 | /* Chipset specific sleep states */ |
| 55 | #include <southbridge/intel/i82801ix/acpi/sleepstates.asl> |
| 56 | |
Timothy Pearson | 36aed74 | 2015-04-05 23:22:18 -0500 | [diff] [blame] | 57 | /* Hybrid graphics support code */ |
| 58 | #include "acpi/graphics.asl" |
| 59 | |
Timothy Pearson | 4b373c9 | 2015-04-05 17:54:08 -0500 | [diff] [blame] | 60 | /* Dock support code */ |
| 61 | #include "acpi/dock.asl" |
| 62 | } |