summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2020-04-30 10:55:32 -0500
committerPatrick Georgi <pgeorgi@google.com>2021-01-04 23:14:47 +0000
commit2ece21244e6a6cb098ea2a4a056722bf3be4a907 (patch)
tree1e4687d91df9d034aa857d0c0d11383834b99422 /src
parent4f980425b1bbf271885dfbb49aa2ee7e682a8c0e (diff)
mb/google/reef (and variants): add ACPI backlight support
Enables backlight control under Windows 10. Test: build/boot Windows 10 20H2 on google/reef, verify display backlight controls functional. Change-Id: I4ce613badbdcfb9c843f52408df26c6cbb4b82a2 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49057 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/reef/dsdt.asl1
-rw-r--r--src/mainboard/google/reef/variants/baseboard/devicetree.cb4
-rw-r--r--src/mainboard/google/reef/variants/coral/devicetree.cb4
-rw-r--r--src/mainboard/google/reef/variants/pyro/devicetree.cb4
-rw-r--r--src/mainboard/google/reef/variants/sand/devicetree.cb4
-rw-r--r--src/mainboard/google/reef/variants/snappy/devicetree.cb4
6 files changed, 16 insertions, 5 deletions
diff --git a/src/mainboard/google/reef/dsdt.asl b/src/mainboard/google/reef/dsdt.asl
index f87b96282e..ecd44f6c92 100644
--- a/src/mainboard/google/reef/dsdt.asl
+++ b/src/mainboard/google/reef/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/reef/variants/baseboard/devicetree.cb b/src/mainboard/google/reef/variants/baseboard/devicetree.cb
index a1b7a4c335..9aadc9ed52 100644
--- a/src/mainboard/google/reef/variants/baseboard/devicetree.cb
+++ b/src/mainboard/google/reef/variants/baseboard/devicetree.cb
@@ -125,7 +125,9 @@ chip soc/intel/apollolake
device pci 00.0 on end # - Host Bridge
device pci 00.1 on end # - DPTF
device pci 00.2 on 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 # - Iunit
device pci 0d.0 on end # - P2SB
device pci 0d.1 on end # - PMC
diff --git a/src/mainboard/google/reef/variants/coral/devicetree.cb b/src/mainboard/google/reef/variants/coral/devicetree.cb
index 649293138d..e8f8cc334a 100644
--- a/src/mainboard/google/reef/variants/coral/devicetree.cb
+++ b/src/mainboard/google/reef/variants/coral/devicetree.cb
@@ -125,7 +125,9 @@ chip soc/intel/apollolake
device pci 00.0 on end # - Host Bridge
device pci 00.1 on end # - DPTF
device pci 00.2 on 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 # - Iunit
device pci 0d.0 on end # - P2SB
device pci 0d.1 on end # - PMC
diff --git a/src/mainboard/google/reef/variants/pyro/devicetree.cb b/src/mainboard/google/reef/variants/pyro/devicetree.cb
index 0dbaa29552..af459bebef 100644
--- a/src/mainboard/google/reef/variants/pyro/devicetree.cb
+++ b/src/mainboard/google/reef/variants/pyro/devicetree.cb
@@ -134,7 +134,9 @@ chip soc/intel/apollolake
device pci 00.0 on end # - Host Bridge
device pci 00.1 on end # - DPTF
device pci 00.2 on 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 # - Iunit
device pci 0d.0 on end # - P2SB
device pci 0d.1 on end # - PMC
diff --git a/src/mainboard/google/reef/variants/sand/devicetree.cb b/src/mainboard/google/reef/variants/sand/devicetree.cb
index ba19369f18..91555ad6c8 100644
--- a/src/mainboard/google/reef/variants/sand/devicetree.cb
+++ b/src/mainboard/google/reef/variants/sand/devicetree.cb
@@ -121,7 +121,9 @@ chip soc/intel/apollolake
device pci 00.0 on end # - Host Bridge
device pci 00.1 on end # - DPTF
device pci 00.2 on 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 # - Iunit
device pci 0d.0 on end # - P2SB
device pci 0d.1 on end # - PMC
diff --git a/src/mainboard/google/reef/variants/snappy/devicetree.cb b/src/mainboard/google/reef/variants/snappy/devicetree.cb
index 3be68ddb5c..d4e9705fc3 100644
--- a/src/mainboard/google/reef/variants/snappy/devicetree.cb
+++ b/src/mainboard/google/reef/variants/snappy/devicetree.cb
@@ -130,7 +130,9 @@ chip soc/intel/apollolake
device pci 00.0 on end # - Host Bridge
device pci 00.1 on end # - DPTF
device pci 00.2 on 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 # - Iunit
device pci 0d.0 on end # - P2SB
device pci 0d.1 on end # - PMC