summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorBenjamin Doron <benjamin.doron00@gmail.com>2020-04-04 05:58:54 +0000
committerPatrick Georgi <pgeorgi@google.com>2020-05-01 06:29:22 +0000
commitac08c818369b8dcd21e7529ac50aebe5f4c4608a (patch)
treec7cbfa5980ed88906f171c4b124e6563bcd734f1 /src/mainboard
parentd149f1db69c9ddde793889931ce8fef931d13cd8 (diff)
mb/purism/librem_skl: Use ACPI backlight controls
Enables ACPI backlight controls. Change-Id: Iccf50f427b7555ee1a3ef9cc11a89d532789ac54 Signed-off-by: Benjamin Doron <benjamin.doron00@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40145 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Wim Vervoorn <wvervoorn@eltan.com> Reviewed-by: Frans Hendriks <fhendriks@eltan.com> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/purism/librem_skl/dsdt.asl1
-rw-r--r--src/mainboard/purism/librem_skl/variants/librem13v2/devicetree.cb3
-rw-r--r--src/mainboard/purism/librem_skl/variants/librem15v3/devicetree.cb3
3 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/purism/librem_skl/dsdt.asl b/src/mainboard/purism/librem_skl/dsdt.asl
index 687de930d0..5ef19e12f6 100644
--- a/src/mainboard/purism/librem_skl/dsdt.asl
+++ b/src/mainboard/purism/librem_skl/dsdt.asl
@@ -24,6 +24,7 @@ DefinitionBlock(
{
#include <soc/intel/skylake/acpi/systemagent.asl>
#include <soc/intel/skylake/acpi/pch.asl>
+ #include <drivers/intel/gma/acpi/default_brightness_levels.asl>
}
}
diff --git a/src/mainboard/purism/librem_skl/variants/librem13v2/devicetree.cb b/src/mainboard/purism/librem_skl/variants/librem13v2/devicetree.cb
index f69c4822bb..6c55af66cc 100644
--- a/src/mainboard/purism/librem_skl/variants/librem13v2/devicetree.cb
+++ b/src/mainboard/purism/librem_skl/variants/librem13v2/devicetree.cb
@@ -8,6 +8,9 @@ chip soc/intel/skylake
register "gpu_pch_backlight_pwm_hz" = "200"
+ # IGD Displays
+ register "gfx" = "GMA_STATIC_DISPLAYS(0)"
+
register "deep_s3_enable_ac" = "0"
register "deep_s3_enable_dc" = "0"
register "deep_s5_enable_ac" = "0"
diff --git a/src/mainboard/purism/librem_skl/variants/librem15v3/devicetree.cb b/src/mainboard/purism/librem_skl/variants/librem15v3/devicetree.cb
index f5b8b99885..f48135297e 100644
--- a/src/mainboard/purism/librem_skl/variants/librem15v3/devicetree.cb
+++ b/src/mainboard/purism/librem_skl/variants/librem15v3/devicetree.cb
@@ -8,6 +8,9 @@ chip soc/intel/skylake
register "gpu_pch_backlight_pwm_hz" = "200"
+ # IGD Displays
+ register "gfx" = "GMA_STATIC_DISPLAYS(0)"
+
register "deep_s3_enable_ac" = "0"
register "deep_s3_enable_dc" = "0"
register "deep_s5_enable_ac" = "0"