Noah Glovsky | cc93ce7 | 2016-04-19 15:43:17 -0600 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License as published by |
| 6 | * the Free Software Foundation; version 2 of the License. |
| 7 | * |
| 8 | * This program is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU General Public License for more details. |
| 12 | */ |
| 13 | |
Vladimir Serbinenko | 55f3e2f | 2015-05-29 22:07:29 +0200 | [diff] [blame] | 14 | #define BRIGHTNESS_UP \_SB.PCI0.GFX0.INCB |
| 15 | #define BRIGHTNESS_DOWN \_SB.PCI0.GFX0.DECB |
| 16 | #define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0 |
| 17 | DefinitionBlock( |
| 18 | "dsdt.aml", |
| 19 | "DSDT", |
| 20 | 0x03, // DSDT revision: ACPI v3.0 |
| 21 | "COREv4", // OEM id |
| 22 | "COREBOOT", // OEM table id |
| 23 | 0x20141018 // OEM revision |
| 24 | ) |
| 25 | { |
| 26 | // Some generic macros |
| 27 | #include "acpi/platform.asl" |
| 28 | #include <cpu/intel/model_206ax/acpi/cpu.asl> |
| 29 | #include <southbridge/intel/bd82x6x/acpi/platform.asl> |
| 30 | /* global NVS and variables. */ |
| 31 | #include <southbridge/intel/bd82x6x/acpi/globalnvs.asl> |
| 32 | #include <southbridge/intel/bd82x6x/acpi/sleepstates.asl> |
| 33 | |
| 34 | Scope (\_SB) { |
| 35 | Device (PCI0) |
| 36 | { |
| 37 | #include <northbridge/intel/sandybridge/acpi/sandybridge.asl> |
| 38 | #include <southbridge/intel/bd82x6x/acpi/pch.asl> |
| 39 | #include <southbridge/intel/bd82x6x/acpi/default_irq_route.asl> |
Nico Huber | 954a55b | 2015-08-27 13:31:46 +0200 | [diff] [blame] | 40 | |
| 41 | #include <drivers/intel/gma/acpi/default_brightness_levels.asl> |
Vladimir Serbinenko | 55f3e2f | 2015-05-29 22:07:29 +0200 | [diff] [blame] | 42 | } |
| 43 | } |
| 44 | } |