summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2020-04-21 01:20:29 -0500
committerMichael Niewöhner <foss@mniewoehner.de>2021-01-04 00:35:27 +0000
commit2c6a725e2bcdbb9bbdcb08bbbffd0d2884dab39a (patch)
tree1db652e1c4952351e8206f18864ccccbbad6bb63
parentd7ef450d88e67f4aa47c40dc746500693c3ccfb0 (diff)
downloadcoreboot-2c6a725e2bcdbb9bbdcb08bbbffd0d2884dab39a.tar.xz
mb/google/octopus: Add ACPI backlight controls
Enables backlight control under Windows 10. Test: build/boot Windows 10 20H2 on google/ampton, verify display backlight controls functional. Change-Id: I779f7f3f5a111018fc7b5c50c5750a9eb815d670 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40594 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
-rw-r--r--src/mainboard/google/octopus/dsdt.asl1
-rw-r--r--src/mainboard/google/octopus/variants/baseboard/devicetree.cb4
2 files changed, 4 insertions, 1 deletions
diff --git a/src/mainboard/google/octopus/dsdt.asl b/src/mainboard/google/octopus/dsdt.asl
index f87b96282e..513db663fe 100644
--- a/src/mainboard/google/octopus/dsdt.asl
+++ b/src/mainboard/google/octopus/dsdt.asl
@@ -25,6 +25,7 @@ DefinitionBlock(
#include <soc/intel/apollolake/acpi/northbridge.asl>
#include <soc/intel/apollolake/acpi/southbridge.asl>
#include <soc/intel/apollolake/acpi/pch_hda.asl>
+ #include <drivers/intel/gma/acpi/default_brightness_levels.asl>
}
}
diff --git a/src/mainboard/google/octopus/variants/baseboard/devicetree.cb b/src/mainboard/google/octopus/variants/baseboard/devicetree.cb
index cbcd48aab4..3dbc5ef080 100644
--- a/src/mainboard/google/octopus/variants/baseboard/devicetree.cb
+++ b/src/mainboard/google/octopus/variants/baseboard/devicetree.cb
@@ -112,7 +112,9 @@ chip soc/intel/apollolake
device pci 00.0 on end # - Host Bridge
device pci 00.1 on end # - DPTF
device pci 00.2 off end # - NPK
- device pci 02.0 on end # - Gen
+ device pci 02.0 on # - Gen
+ register "gfx" = "GMA_DEFAULT_PANEL(0)"
+ end
device pci 03.0 on end # - Gaussian Mixture Model (GMM)
device pci 0c.0 on
chip drivers/wifi/generic