From fe97ee33e8b13b8ab05216e4db7de9bfdcb11509 Mon Sep 17 00:00:00 2001 From: Sunway Date: Tue, 2 Feb 2021 16:06:27 +0800 Subject: [PATCH] mb/google/kukui: kakadu: update the initial code for BOE LCD The latest initial code is from BOE, the vendor. BUG=b:179206650 BRANCH=kukui TEST=Run long time aging test and the BOE LCD shows normally. Signed-off-by: Sunway Change-Id: Ibc1bd5147dbda4e3b94023e7ba52ff6a18abba0c Reviewed-on: https://review.coreboot.org/c/coreboot/+/50215 Reviewed-by: Yu-Ping Wu Tested-by: build bot (Jenkins) --- .../kukui/panel_params/panel-BOE_TV105WUM_NW0.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/mainboard/google/kukui/panel_params/panel-BOE_TV105WUM_NW0.c b/src/mainboard/google/kukui/panel_params/panel-BOE_TV105WUM_NW0.c index ab13735344..3c551a2d34 100644 --- a/src/mainboard/google/kukui/panel_params/panel-BOE_TV105WUM_NW0.c +++ b/src/mainboard/google/kukui/panel_params/panel-BOE_TV105WUM_NW0.c @@ -20,7 +20,8 @@ struct panel_serializable_data BOE_TV105WUM_NW0 = { }, .orientation = LB_FB_ORIENTATION_LEFT_UP, .init = { - INIT_DELAY_CMD(24), + INIT_DCS_CMD(0x10), + INIT_DELAY_CMD(34), INIT_DCS_CMD(0xB0, 0x05), INIT_DCS_CMD(0xB1, 0xE5), INIT_DCS_CMD(0xB3, 0x52), @@ -33,9 +34,9 @@ struct panel_serializable_data BOE_TV105WUM_NW0 = { INIT_DCS_CMD(0xBA, 0x87), INIT_DCS_CMD(0xBF, 0x1F), INIT_DCS_CMD(0xC0, 0x0F), - INIT_DCS_CMD(0xC2, 0x0C), + INIT_DCS_CMD(0xC2, 0x0E), INIT_DCS_CMD(0xC3, 0x02), - INIT_DCS_CMD(0xC4, 0x0C), + INIT_DCS_CMD(0xC4, 0x0A), INIT_DCS_CMD(0xC5, 0x02), INIT_DCS_CMD(0xB0, 0x01), INIT_DCS_CMD(0xE0, 0x26), @@ -305,11 +306,16 @@ struct panel_serializable_data BOE_TV105WUM_NW0 = { INIT_DCS_CMD(0xCC, 0xAF), INIT_DCS_CMD(0xCD, 0xFF), INIT_DCS_CMD(0xCE, 0xFF), + INIT_DELAY_CMD(100), INIT_DCS_CMD(0xB0, 0x00), INIT_DCS_CMD(0xB3, 0x08), INIT_DCS_CMD(0xB0, 0x04), INIT_DCS_CMD(0xB8, 0x68), - INIT_DELAY_CMD(150), + INIT_DELAY_CMD(10), + INIT_DCS_CMD(0x11), + INIT_DELAY_CMD(100), + INIT_DCS_CMD(0x29), + INIT_DELAY_CMD(50), INIT_END_CMD, }, };