jitao shi has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/33571
Change subject: google/kukui: turn off backlight before config display ......................................................................
google/kukui: turn off backlight before config display
Turn off backlight before display config and then turn on backlight after display config. Avoid flash white screen when configuring display.
BUG=b:129299873 BRANCH=none
Change-Id: Icc16c4297eb3c6b6a4770a36661a2e3cab418048 Signed-off-by: Jitao Shi jitao.shi@mediatek.com --- M src/mainboard/google/kukui/panel_kukui.c 1 file changed, 3 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/71/33571/1
diff --git a/src/mainboard/google/kukui/panel_kukui.c b/src/mainboard/google/kukui/panel_kukui.c index be76aa4..887634f 100644 --- a/src/mainboard/google/kukui/panel_kukui.c +++ b/src/mainboard/google/kukui/panel_kukui.c @@ -145,10 +145,11 @@ return false; };
+/* Setup backlight control pins as output pin and power-off by default */ static int kukui_backlight(struct board_display_intf *intf) { - gpio_output(GPIO(PERIPHERAL_EN13), 1); - gpio_output(GPIO(DISP_PWM), 1); /* DISP_PWM0 */ + gpio_output(GPIO(PERIPHERAL_EN13), 0); + gpio_output(GPIO(DISP_PWM), 0);
return 0; };