summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2023-01-25 14:27:42 -0600
committerFelix Held <felix-coreboot@felixheld.de>2023-02-10 14:54:31 +0000
commit2e82fcf209d3782397ff7699b991ca24794b0c57 (patch)
treee564b1b9ce5da663b9b32c908f8fef43425f16e3 /src/mainboard/google
parentb575397c7fb349d69854d6cca26154cf2f0477c5 (diff)
mb/google/drallion: Add VBT, ACPI brightness controls
Enables display backlight control under Windows. VBT extracted from stock ChromeOS firmware Google_Drallion.12930.543.0. TEST=build/boot Win11 on drallion, verify OS backlight control available and functional. Change-Id: I85065f22b825a7616fa4ac632c42ae7972091e24 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/72579 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/drallion/Kconfig1
-rw-r--r--src/mainboard/google/drallion/dsdt.asl1
-rw-r--r--src/mainboard/google/drallion/variants/drallion/data.vbtbin0 -> 4608 bytes
-rw-r--r--src/mainboard/google/drallion/variants/drallion/devicetree.cb1
4 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/drallion/Kconfig b/src/mainboard/google/drallion/Kconfig
index 0d31362ac0..6d571dd46e 100644
--- a/src/mainboard/google/drallion/Kconfig
+++ b/src/mainboard/google/drallion/Kconfig
@@ -13,6 +13,7 @@ config BOARD_GOOGLE_BASEBOARD_DRALLION
select HAVE_ACPI_TABLES
select HAVE_SPD_IN_CBFS
select I2C_TPM
+ select INTEL_GMA_HAVE_VBT
select INTEL_LPSS_UART_FOR_CONSOLE
select MAINBOARD_HAS_CHROMEOS
select MAINBOARD_HAS_TPM2
diff --git a/src/mainboard/google/drallion/dsdt.asl b/src/mainboard/google/drallion/dsdt.asl
index 6e9bf02136..0f503dffd9 100644
--- a/src/mainboard/google/drallion/dsdt.asl
+++ b/src/mainboard/google/drallion/dsdt.asl
@@ -22,6 +22,7 @@ DefinitionBlock(
{
#include <soc/intel/common/block/acpi/acpi/northbridge.asl>
#include <soc/intel/cannonlake/acpi/southbridge.asl>
+ #include <drivers/intel/gma/acpi/default_brightness_levels.asl>
}
/* Per board variant mainboard hooks. */
#include <variant/acpi/mainboard.asl>
diff --git a/src/mainboard/google/drallion/variants/drallion/data.vbt b/src/mainboard/google/drallion/variants/drallion/data.vbt
new file mode 100644
index 0000000000..034ad8ca0b
--- /dev/null
+++ b/src/mainboard/google/drallion/variants/drallion/data.vbt
Binary files differ
diff --git a/src/mainboard/google/drallion/variants/drallion/devicetree.cb b/src/mainboard/google/drallion/variants/drallion/devicetree.cb
index 7f55eaf36f..950dab9c19 100644
--- a/src/mainboard/google/drallion/variants/drallion/devicetree.cb
+++ b/src/mainboard/google/drallion/variants/drallion/devicetree.cb
@@ -220,6 +220,7 @@ chip soc/intel/cannonlake
device domain 0 on
device pci 00.0 on end # Host Bridge
device pci 02.0 on
+ register "gfx" = "GMA_DEFAULT_PANEL(0)"
chip drivers/gfx/generic
register "device_count" = "1"
register "device[0].name" = ""LCD""