summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2017-01-07 23:46:41 -0600
committerMatt DeVillier <matt.devillier@gmail.com>2020-04-05 16:53:03 +0000
commit667d8af08adbd4f2154dfb3032698f961b9cfcdd (patch)
treedded841f16172236a1c36a2aa3f9e2927eb6d47e /src
parent92646ea3e3456a0a975775a1f5aa5dc011a9b1b6 (diff)
downloadcoreboot-667d8af08adbd4f2154dfb3032698f961b9cfcdd.tar.xz
mb/google/rambi: use ACPI backlight controls
All variants except NINJA have a built-in display. Enables ACPI brightness controls under Windows. Change-Id: I8dd026608de606fa33f28ccb2967f3beb83b3470 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40119 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/rambi/devicetree.cb3
-rw-r--r--src/mainboard/google/rambi/dsdt.asl1
-rw-r--r--src/mainboard/google/rambi/variants/ninja/overridetree.cb3
3 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/google/rambi/devicetree.cb b/src/mainboard/google/rambi/devicetree.cb
index dc11ec8a91..c7bc0b66f2 100644
--- a/src/mainboard/google/rambi/devicetree.cb
+++ b/src/mainboard/google/rambi/devicetree.cb
@@ -1,5 +1,8 @@
chip soc/intel/baytrail
+ # IGD Displays
+ register "gfx" = "GMA_STATIC_DISPLAYS(0)"
+
# SATA port enable mask (2 ports)
register "sata_port_map" = "0x1"
register "sata_ahci" = "0x1"
diff --git a/src/mainboard/google/rambi/dsdt.asl b/src/mainboard/google/rambi/dsdt.asl
index 3a8d1a1a30..347269fa15 100644
--- a/src/mainboard/google/rambi/dsdt.asl
+++ b/src/mainboard/google/rambi/dsdt.asl
@@ -36,6 +36,7 @@ DefinitionBlock(
{
//#include <soc/intel/baytrail/acpi/northcluster.asl>
#include <soc/intel/baytrail/acpi/southcluster.asl>
+ #include <drivers/intel/gma/acpi/default_brightness_levels.asl>
}
/* Dynamic Platform Thermal Framework */
diff --git a/src/mainboard/google/rambi/variants/ninja/overridetree.cb b/src/mainboard/google/rambi/variants/ninja/overridetree.cb
index 3f67644d79..47527da2b3 100644
--- a/src/mainboard/google/rambi/variants/ninja/overridetree.cb
+++ b/src/mainboard/google/rambi/variants/ninja/overridetree.cb
@@ -1,5 +1,8 @@
chip soc/intel/baytrail
+ # No Built-in IGD Display
+ register "gfx.ndid" = "0"
+
register "usb2_comp_bg" = "0x4700"
# Allow PCIe devices to wake system from suspend