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:
parent
ed849ed82c
commit
4d472a76c7
|
@ -14,6 +14,11 @@
|
||||||
|
|
||||||
static void power_on_anx7625(void)
|
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_MIPIBRDG_RST_L_1V8, 0);
|
||||||
gpio_output(GPIO_PP1200_MIPIBRDG_EN, 1);
|
gpio_output(GPIO_PP1200_MIPIBRDG_EN, 1);
|
||||||
gpio_output(GPIO_VDDIO_MIPIBRDG_EN, 1);
|
gpio_output(GPIO_VDDIO_MIPIBRDG_EN, 1);
|
||||||
|
|
|
@ -13,6 +13,11 @@
|
||||||
|
|
||||||
static void power_on_ps8640(void)
|
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_MIPIBRDG_RST_L_1V8, 0);
|
||||||
gpio_output(GPIO_PP1200_MIPIBRDG_EN, 1);
|
gpio_output(GPIO_PP1200_MIPIBRDG_EN, 1);
|
||||||
gpio_output(GPIO_VDDIO_MIPIBRDG_EN, 1);
|
gpio_output(GPIO_VDDIO_MIPIBRDG_EN, 1);
|
||||||
|
|
Loading…
Reference in New Issue