summaryrefslogtreecommitdiff
path: root/src/mainboard/google/corsola/display.h
diff options
context:
space:
mode:
authorRex-BC Chen <rex-bc.chen@mediatek.corp-partner.google.com>2021-12-17 15:10:45 +0800
committerHung-Te Lin <hungte@chromium.org>2022-01-01 03:30:15 +0000
commit291ba82acf42f0ec08ee47bbb7072078b46b4ebb (patch)
tree83d2349681561dd9df9522585ae8972ba47c8e38 /src/mainboard/google/corsola/display.h
parent6e9e3fddc7a009da794958eab6c3a8f2419275c8 (diff)
mb/google/corsola: Initialize krabby display
PS8640 is used on Krabby board as the eDP bridge IC. Enable PS8640 and configure display in mainboard_init() to support display in firmware screen. BUG=b:210806060 TEST=saw firmware display on eDP panel of krabby and kingler. Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com> Change-Id: I314d5407c40429bb7bc50f36fece58e396b27548 Reviewed-on: https://review.coreboot.org/c/coreboot/+/60447 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/corsola/display.h')
-rw-r--r--src/mainboard/google/corsola/display.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/google/corsola/display.h b/src/mainboard/google/corsola/display.h
index 525422bd40..4e883f2b88 100644
--- a/src/mainboard/google/corsola/display.h
+++ b/src/mainboard/google/corsola/display.h
@@ -3,6 +3,14 @@
#ifndef __MAINBOARD_GOOGLE_CORSOLA_DISPLAY_H__
#define __MAINBOARD_GOOGLE_CORSOLA_DISPLAY_H__
+#include <edid.h>
+
+struct edp_bridge {
+ void (*power_on)(void);
+ int (*get_edid)(u8 i2c_bus, struct edid *edid);
+ int (*post_power_on)(u8 i2c_bus, struct edid *edid);
+};
+
int configure_display(void);
#endif