mb/google/kukui: Fix backlight flash white before show logo

Turn backlight off before panel poweron.

BUG=b:155107047
TEST=make # board = kukui
BRANCH=kukui

Signed-off-by: Jitao Shi <jitao.shi@mediatek.com>
Change-Id: I0f31923bd7c1dfa26d4b1bbd0a230ae400b08ca3
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41146
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Jitao Shi 2020-05-07 18:44:19 +08:00 committed by Patrick Georgi
parent ed849ed82c
commit 4d472a76c7
2 changed files with 10 additions and 0 deletions

View File

@ -14,6 +14,11 @@
static void power_on_anx7625(void)
{
/* Disable backlight before turning on bridge */
gpio_output(GPIO(PERIPHERAL_EN13), 0);
gpio_output(GPIO(DISP_PWM), 0);
/* Turn on bridge */
gpio_output(GPIO_MIPIBRDG_RST_L_1V8, 0);
gpio_output(GPIO_PP1200_MIPIBRDG_EN, 1);
gpio_output(GPIO_VDDIO_MIPIBRDG_EN, 1);

View File

@ -13,6 +13,11 @@
static void power_on_ps8640(void)
{
/* Disable backlight before turning on bridge */
gpio_output(GPIO(PERIPHERAL_EN13), 0);
gpio_output(GPIO(DISP_PWM), 0);
/* Turn on bridge */
gpio_output(GPIO_MIPIBRDG_RST_L_1V8, 0);
gpio_output(GPIO_PP1200_MIPIBRDG_EN, 1);
gpio_output(GPIO_VDDIO_MIPIBRDG_EN, 1);