drivers/mipi: sta_ili9882t: Change TReset-CMD from 1.1 ms to 20 ms

In the datasheet of ILI9882T [1] section 3.11 Power On/Off Sequence,
the TReset-CMD (Reset to First Command in Display Sleep In Mode) should
be larger than 10ms, but it's 1.1ms now. This may cause abnormal
display as some commands may be lost during power on. Fix this and
leave some margins by increasing TReset-CMD to 20ms. Also, to align
with the kernel driver structure starry_ili9882t_init_cmd, add 20ms
delay at the end of command.

[1] ILI9882T_Datasheet_20220428.pdf

BUG=b:293380212
TEST=Boot and display normally

Signed-off-by: Ruihai Zhou <zhouruihai@huaqin.corp-partner.google.com>
Change-Id: Ifdcaf0e34753fc906817c763f1c8e7389448d1dc
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76766
Reviewed-by: cong yang <yangcong5@huaqin.corp-partner.google.com>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Reviewed-by: Yidi Lin <yidilin@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
This commit is contained in:
Ruihai Zhou 2023-07-27 19:36:35 +08:00 committed by Felix Held
parent 40c645b137
commit d1b8589583
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,7 @@ struct panel_serializable_data STA_ILI9882T = {
}, },
}, },
.init = { .init = {
PANEL_DELAY(20),
PANEL_DCS(0xFF, 0x98, 0x82, 0x01), PANEL_DCS(0xFF, 0x98, 0x82, 0x01),
PANEL_DCS(0x00, 0x42), PANEL_DCS(0x00, 0x42),
PANEL_DCS(0x01, 0x11), PANEL_DCS(0x01, 0x11),
@ -325,5 +326,6 @@ struct panel_serializable_data STA_ILI9882T = {
PANEL_DCS(0x11), PANEL_DCS(0x11),
PANEL_DELAY(120), PANEL_DELAY(120),
PANEL_DCS(0x29), PANEL_DCS(0x29),
PANEL_DELAY(20),
}, },
}; };