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. |
| 15 | * |
| 16 | * You should have received a copy of the GNU General Public License |
| 17 | * along with this program; if not, write to the Free Software |
| 18 | * Foundation, Inc. |
| 19 | */ |
| 20 | |
| 21 | #define THINKPAD_EC_GPE 17 |
| 22 | #define BRIGHTNESS_UP \_SB.PCI0.GFX0.INCB |
| 23 | #define BRIGHTNESS_DOWN \_SB.PCI0.GFX0.DECB |
| 24 | #define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0 |
| 25 | #define DISPLAY_DEVICE_2_IS_LCD_SCREEN 1 |
| 26 | |
| 27 | DefinitionBlock( |
| 28 | "dsdt.aml", |
| 29 | "DSDT", |
| 30 | 0x03, // DSDT revision: ACPI v3.0 |
| 31 | "COREv4", // OEM id |
| 32 | "COREBOOT", // OEM table id |
| 33 | 0x20090419 // OEM revision |
| 34 | ) |
| 35 | { |
| 36 | // Some generic macros |
| 37 | #include "acpi/platform.asl" |
| 38 | |
| 39 | // global NVS and variables |
| 40 | #include <southbridge/intel/i82801ix/acpi/globalnvs.asl> |
| 41 | |
| 42 | // General Purpose Events |
| 43 | #include "acpi/gpe.asl" |
| 44 | |
| 45 | Scope (\_SB) { |
| 46 | Device (PCI0) |
| 47 | { |
| 48 | #include <northbridge/intel/gm45/acpi/gm45.asl> |
| 49 | #include <southbridge/intel/i82801ix/acpi/ich9.asl> |
Nico Huber | 954a55b | 2015-08-27 13:31:46 +0200 | [diff] [blame^] | 50 | |
| 51 | #include <drivers/intel/gma/acpi/default_brightness_levels.asl> |
Timothy Pearson | 4b373c9 | 2015-04-05 17:54:08 -0500 | [diff] [blame] | 52 | } |
| 53 | } |
| 54 | |
| 55 | /* Chipset specific sleep states */ |
| 56 | #include <southbridge/intel/i82801ix/acpi/sleepstates.asl> |
| 57 | |
Timothy Pearson | 36aed74 | 2015-04-05 23:22:18 -0500 | [diff] [blame] | 58 | /* Hybrid graphics support code */ |
| 59 | #include "acpi/graphics.asl" |
| 60 | |
Timothy Pearson | 4b373c9 | 2015-04-05 17:54:08 -0500 | [diff] [blame] | 61 | /* Dock support code */ |
| 62 | #include "acpi/dock.asl" |
| 63 | } |