summaryrefslogtreecommitdiff
path: root/src/mainboard/google/kahlee/variants/baseboard
diff options
context:
space:
mode:
authorChris Wang <chris.wang@amd.corp-partner.google.com>2018-11-05 12:09:24 +0800
committerMartin Roth <martinroth@google.com>2018-11-09 09:15:11 +0000
commit50c11607a1afaa373d381575c5056e4185a014c4 (patch)
treeea263284ba825dc9ee019655ecedaff0161d3c8d /src/mainboard/google/kahlee/variants/baseboard
parent2df5abc53bf670786a472c9c315adfc4e988cf2a (diff)
mb/google/kahlee: Tune eDP panel initialization time
1. Add two parameters for panel initialization timing. > lvds_poseq_varybl_to_blon > lvds_poseq_blon_to_varybl 2. The BL_PWM is controlled by APU_EDP_BKLTEN_L/APU_DP_VARY_BL/ EDP_BKLTEN_L, so move APU_EDP_BKLTEN_L to early init stage, and be enabled depends on SKU, thus we can control the delay time by config APU_DP_VARY_BL. BUG=b:118011567 TEST=emerge-grunt coreboot. Change-Id: Ib20c48813b208d697b950b2f02a70a690e483fdb Signed-off-by: Chris Wang <chris.wang@amd.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/29469 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/google/kahlee/variants/baseboard')
-rw-r--r--src/mainboard/google/kahlee/variants/baseboard/gpio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/google/kahlee/variants/baseboard/gpio.c b/src/mainboard/google/kahlee/variants/baseboard/gpio.c
index 6095a08af0..f6bc83c4e2 100644
--- a/src/mainboard/google/kahlee/variants/baseboard/gpio.c
+++ b/src/mainboard/google/kahlee/variants/baseboard/gpio.c
@@ -77,6 +77,9 @@ static const struct soc_amd_gpio gpio_set_stage_reset[] = {
/* GPIO_132 - CONFIG_STRAP4 */
PAD_GPI(GPIO_132, PULL_NONE),
+ /* GPIO_133 - APU_EDP_BKLTEN_L (backlight - Active LOW) */
+ PAD_GPO(GPIO_133, HIGH),
+
/* GPIO_136 - UART_PCH_RX_DEBUG_TX */
PAD_NF(GPIO_136, UART0_RXD, PULL_NONE),
@@ -217,9 +220,6 @@ static const struct soc_amd_gpio gpio_set_stage_ram[] = {
/* GPIO_130 - Unused (TP55) */
PAD_GPI(GPIO_130, PULL_UP),
- /* GPIO_133 - APU_EDP_BKLTEN_L (backlight - Active LOW) */
- PAD_GPO(GPIO_133, HIGH),
-
/* GPIO_135 - BCLK Buffer Enable */
PAD_GPO(GPIO_135, HIGH),