From 667d8af08adbd4f2154dfb3032698f961b9cfcdd Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Sat, 7 Jan 2017 23:46:41 -0600 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/40119 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/mainboard/google/rambi/devicetree.cb | 3 +++ src/mainboard/google/rambi/dsdt.asl | 1 + src/mainboard/google/rambi/variants/ninja/overridetree.cb | 3 +++ 3 files changed, 7 insertions(+) (limited to 'src/mainboard/google/rambi') 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 #include + #include } /* 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 -- cgit v1.2.3