mb/google/trogdor: Modify BOE panel_id for mrbland

Modify BOE panel_id for mrbland due to hardware changes.

BUG=b:205166230,b:198548221
BRANCH=trogdor
TEST=emerge-strongbad coreboot

Change-Id: I65fecd854c4e3443edc07a44a1d43572d5030e4c
Signed-off-by: Zanxi Chen <chenzanxi@huaqin.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58995
Reviewed-by: xuxinxiong <xuxinxiong@huaqin.corp-partner.google.com>
Reviewed-by: Bob Moragues <moragues@google.com>
Reviewed-by: Shelley Chen <shchen@google.com>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Zanxi Chen 2021-11-06 20:57:05 +08:00 committed by Julius Werner
parent 4eb17f8e20
commit 4f021e554f
1 changed files with 5 additions and 3 deletions

View File

@ -136,10 +136,11 @@ static void configure_mipi_panel(void)
gpio_output(GPIO_VDD_RESET_1V8, 1);
mdelay(15);
/*
* In mrbland, BOE panel_id = 3, it needs 15ms delay and
* do reset again according to spec(See in b/197300876).
* In mrbland, BOE panel_id = 3(EVT) or 4(DVT and after),
* it needs 15ms delay and do reset again according to spec
* (See in b/197300876).
*/
if (CONFIG(BOARD_GOOGLE_MRBLAND) && (panel_id == 3)) {
if (CONFIG(BOARD_GOOGLE_MRBLAND) && ((panel_id == 3) || (panel_id == 4))) {
gpio_output(GPIO_VDD_RESET_1V8, 0);
mdelay(5);
gpio_output(GPIO_VDD_RESET_1V8, 1);
@ -154,6 +155,7 @@ static struct panel_serializable_data *get_mipi_panel(enum lb_fb_orientation *or
if (CONFIG(BOARD_GOOGLE_MRBLAND)) {
switch (panel_id) {
case 3:
case 4:
cbfs_filename = "panel-BOE_TV101WUM_N53";
*orientation = LB_FB_ORIENTATION_LEFT_UP;
break;