summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2019-11-27 22:55:43 -0600
committerMatt DeVillier <matt.devillier@gmail.com>2020-04-02 20:33:48 +0000
commit8f42472faaae53b2a271c821b301ba9ed1d2b748 (patch)
treea325c822c1d8081ba63a1fed0695a61e42dd1280 /src/mainboard/google
parent79b35019a358054d6baf4b5b10b11f3720f78f1e (diff)
mb/google/poppy: Add support for ACPI brightness controls
Change-Id: Ie7eb4c43178acff2dc5ff7c685e71990d8f353c9 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39945 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/poppy/dsdt.asl1
-rw-r--r--src/mainboard/google/poppy/variants/atlas/devicetree.cb3
-rw-r--r--src/mainboard/google/poppy/variants/baseboard/devicetree.cb3
-rw-r--r--src/mainboard/google/poppy/variants/nami/devicetree.cb3
-rw-r--r--src/mainboard/google/poppy/variants/nautilus/devicetree.cb3
-rw-r--r--src/mainboard/google/poppy/variants/nocturne/devicetree.cb3
-rw-r--r--src/mainboard/google/poppy/variants/rammus/devicetree.cb3
-rw-r--r--src/mainboard/google/poppy/variants/soraka/devicetree.cb3
8 files changed, 22 insertions, 0 deletions
diff --git a/src/mainboard/google/poppy/dsdt.asl b/src/mainboard/google/poppy/dsdt.asl
index dceccc2650..7a21384cfe 100644
--- a/src/mainboard/google/poppy/dsdt.asl
+++ b/src/mainboard/google/poppy/dsdt.asl
@@ -41,6 +41,7 @@ DefinitionBlock(
#include <soc/intel/skylake/acpi/ipu.asl>
#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/google/poppy/variants/atlas/devicetree.cb b/src/mainboard/google/poppy/variants/atlas/devicetree.cb
index 52a2dc765e..b7ab523877 100644
--- a/src/mainboard/google/poppy/variants/atlas/devicetree.cb
+++ b/src/mainboard/google/poppy/variants/atlas/devicetree.cb
@@ -1,5 +1,8 @@
chip soc/intel/skylake
+ # IGD Displays
+ register "gfx" = "GMA_STATIC_DISPLAYS(0)"
+
register "gpu_pp_up_delay_ms" = "200"
register "gpu_pp_down_delay_ms" = "50"
register "gpu_pp_cycle_delay_ms" = "600"
diff --git a/src/mainboard/google/poppy/variants/baseboard/devicetree.cb b/src/mainboard/google/poppy/variants/baseboard/devicetree.cb
index d9604746dd..77725349e7 100644
--- a/src/mainboard/google/poppy/variants/baseboard/devicetree.cb
+++ b/src/mainboard/google/poppy/variants/baseboard/devicetree.cb
@@ -1,5 +1,8 @@
chip soc/intel/skylake
+ # IGD Displays
+ register "gfx" = "GMA_STATIC_DISPLAYS(0)"
+
# Deep Sx states
register "deep_s3_enable_ac" = "0"
register "deep_s3_enable_dc" = "0"
diff --git a/src/mainboard/google/poppy/variants/nami/devicetree.cb b/src/mainboard/google/poppy/variants/nami/devicetree.cb
index 1b3fdcc410..e4d148c3e2 100644
--- a/src/mainboard/google/poppy/variants/nami/devicetree.cb
+++ b/src/mainboard/google/poppy/variants/nami/devicetree.cb
@@ -1,5 +1,8 @@
chip soc/intel/skylake
+ # IGD Displays
+ register "gfx" = "GMA_STATIC_DISPLAYS(0)"
+
# Deep Sx states
register "deep_s3_enable_ac" = "0"
register "deep_s3_enable_dc" = "1"
diff --git a/src/mainboard/google/poppy/variants/nautilus/devicetree.cb b/src/mainboard/google/poppy/variants/nautilus/devicetree.cb
index 66ceb2d3ac..c3404bf4f8 100644
--- a/src/mainboard/google/poppy/variants/nautilus/devicetree.cb
+++ b/src/mainboard/google/poppy/variants/nautilus/devicetree.cb
@@ -1,5 +1,8 @@
chip soc/intel/skylake
+ # IGD Displays
+ register "gfx" = "GMA_STATIC_DISPLAYS(0)"
+
# Deep Sx states
register "deep_s3_enable_ac" = "0"
register "deep_s3_enable_dc" = "0"
diff --git a/src/mainboard/google/poppy/variants/nocturne/devicetree.cb b/src/mainboard/google/poppy/variants/nocturne/devicetree.cb
index 75fcf9c54f..96fcc39e65 100644
--- a/src/mainboard/google/poppy/variants/nocturne/devicetree.cb
+++ b/src/mainboard/google/poppy/variants/nocturne/devicetree.cb
@@ -1,5 +1,8 @@
chip soc/intel/skylake
+ # IGD Displays
+ register "gfx" = "GMA_STATIC_DISPLAYS(0)"
+
# Deep Sx states
register "deep_s3_enable_ac" = "0"
register "deep_s3_enable_dc" = "0"
diff --git a/src/mainboard/google/poppy/variants/rammus/devicetree.cb b/src/mainboard/google/poppy/variants/rammus/devicetree.cb
index f44f9ce3ef..65578708ad 100644
--- a/src/mainboard/google/poppy/variants/rammus/devicetree.cb
+++ b/src/mainboard/google/poppy/variants/rammus/devicetree.cb
@@ -1,5 +1,8 @@
chip soc/intel/skylake
+ # IGD Displays
+ register "gfx" = "GMA_STATIC_DISPLAYS(0)"
+
register "gpu_pp_up_delay_ms" = "200"
register "gpu_pp_down_delay_ms" = "500"
register "gpu_pp_cycle_delay_ms" = "600"
diff --git a/src/mainboard/google/poppy/variants/soraka/devicetree.cb b/src/mainboard/google/poppy/variants/soraka/devicetree.cb
index 4711b1f0ae..146d8d2c19 100644
--- a/src/mainboard/google/poppy/variants/soraka/devicetree.cb
+++ b/src/mainboard/google/poppy/variants/soraka/devicetree.cb
@@ -1,5 +1,8 @@
chip soc/intel/skylake
+ # IGD Displays
+ register "gfx" = "GMA_STATIC_DISPLAYS(0)"
+
# Deep Sx states
register "deep_s3_enable_ac" = "0"
register "deep_s3_enable_dc" = "0"