diff options
author | Ruihai Zhou <zhouruihai@huaqin.corp-partner.google.com> | 2023-05-19 17:51:05 +0800 |
---|---|---|
committer | Jakub Czapiga <jacz@semihalf.com> | 2023-05-22 08:01:18 +0000 |
commit | 88acb25a9bbe09146a18da367ecdd89e8810217a (patch) | |
tree | 58ed8d4ab37357063ea56ac460043d64337e3b34 /src | |
parent | 6477d19e6434b6a84eb908fea77f7c7d27ca5e1e (diff) |
mb/google/corsola: Disable backlight before turning on bridge
Disable backlight before turning on bridge, otherwise the bridge will
initialize failed.
Fixes: d5c1e1(mb/google/corsola: Add support for MIPI panel)
Signed-off-by: Ruihai Zhou <zhouruihai@huaqin.corp-partner.google.com>
Change-Id: I7d10bf9e8675b2fb03bfd1e294af66207b9b0620
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75354
Reviewed-by: cong yang <yangcong5@huaqin.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yidi Lin <yidilin@google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/corsola/display.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/google/corsola/display.c b/src/mainboard/google/corsola/display.c index 697db0759e..9a8ecc567a 100644 --- a/src/mainboard/google/corsola/display.c +++ b/src/mainboard/google/corsola/display.c @@ -123,6 +123,9 @@ static struct panel_description *get_active_panel(void) int configure_display(void) { + /* Set up backlight control pins as output pin and power-off by default */ + backlight_control(); + const struct panel_description *panel = get_active_panel(); if (!panel) @@ -130,9 +133,6 @@ int configure_display(void) printk(BIOS_INFO, "%s: Starting display init\n", __func__); - /* Set up backlight control pins as output pin and power-off by default */ - backlight_control(); - if (panel->power_on) panel->power_on(); |