Julius Werner has submitted this change. ( https://review.coreboot.org/c/coreboot/+/58995 )
Change subject: mb/google/trogdor: Modify BOE panel_id for mrbland ......................................................................
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 --- M src/mainboard/google/trogdor/mainboard.c 1 file changed, 5 insertions(+), 3 deletions(-)
Approvals: build bot (Jenkins): Verified Julius Werner: Looks good to me, approved Shelley Chen: Looks good to me, approved Bob Moragues: Looks good to me, but someone else must approve xuxinxiong: Looks good to me, but someone else must approve
diff --git a/src/mainboard/google/trogdor/mainboard.c b/src/mainboard/google/trogdor/mainboard.c index 5499a07..2a2fa94 100644 --- a/src/mainboard/google/trogdor/mainboard.c +++ b/src/mainboard/google/trogdor/mainboard.c @@ -136,10 +136,11 @@ 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 @@ 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;