summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2019-12-29 12:09:31 -0600
committerPatrick Georgi <pgeorgi@google.com>2019-12-31 15:18:17 +0000
commit76ea54e96211bd9f4eae1e384312cfeabf593918 (patch)
treef09bebef5e22752f959911ed9e3e60fa3cdadde7 /src/mainboard/google
parentf41eea4c0c4266a65c98fed902a4b95ced452c40 (diff)
mb/google/atlas: Add libgfxinit support
Add Kconfig, panel delays extracted from VBT (and confirmed by Linux) Test: build/boot Atlas with libgfxinit and Tianocore payload Change-Id: I94c227cd4f020db719bf81118d983493752bb00f Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37989 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/poppy/Kconfig1
-rw-r--r--src/mainboard/google/poppy/variants/atlas/devicetree.cb7
2 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/google/poppy/Kconfig b/src/mainboard/google/poppy/Kconfig
index 5a621bb940..855382143c 100644
--- a/src/mainboard/google/poppy/Kconfig
+++ b/src/mainboard/google/poppy/Kconfig
@@ -142,6 +142,7 @@ config VARIANT_SPECIFIC_OPTIONS_ATLAS
select DRIVERS_SPI_ACPI
select DRIVERS_USB_ACPI
select EXCLUDE_NATIVE_SD_INTERFACE
+ select MAINBOARD_HAS_LIBGFXINIT
select MAINBOARD_HAS_SPI_TPM_CR50
select VARIANT_HAS_CAMERA_ACPI
select GEO_SAR_ENABLE if CHROMEOS_WIFI_SAR
diff --git a/src/mainboard/google/poppy/variants/atlas/devicetree.cb b/src/mainboard/google/poppy/variants/atlas/devicetree.cb
index ac86e79f22..52a2dc765e 100644
--- a/src/mainboard/google/poppy/variants/atlas/devicetree.cb
+++ b/src/mainboard/google/poppy/variants/atlas/devicetree.cb
@@ -1,5 +1,12 @@
chip soc/intel/skylake
+ register "gpu_pp_up_delay_ms" = "200"
+ register "gpu_pp_down_delay_ms" = "50"
+ register "gpu_pp_cycle_delay_ms" = "600"
+ register "gpu_pp_backlight_on_delay_ms" = " 1"
+ register "gpu_pp_backlight_off_delay_ms" = "200"
+ register "gpu_pch_backlight_pwm_hz" = "200"
+
# Deep Sx states
register "deep_s3_enable_ac" = "0"
register "deep_s3_enable_dc" = "0"