From 49465167a0050133315b54176d930f600ff12db5 Mon Sep 17 00:00:00 2001 From: Bo-Chen Chen Date: Wed, 30 Nov 2022 14:47:41 +0800 Subject: mb/google/geralt: Put MIPI panel data in panel_geralt.c There are eDP and MIPI panels supported in geralt. We put the panels' specified functions - `power_on()` and `configure_panel_backlight()` in panel_geralt.c. Also provide the common interface `get_active_panel()` in panel.c to generalize the display initialization. Since each board may support a different set of MIPI panels, we put the MIPI data in a separate file panel_geralt.c. BUG=b:244208960 TEST=emerge-geralt coreboot Change-Id: Ie928759e020a916f29f0364201a3cf202dc512c3 Signed-off-by: Bo-Chen Chen Reviewed-on: https://review.coreboot.org/c/coreboot/+/70404 Tested-by: build bot (Jenkins) Reviewed-by: Yidi Lin Reviewed-by: Yu-Ping Wu --- src/soc/mediatek/mt8188/include/soc/ddp.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/soc') diff --git a/src/soc/mediatek/mt8188/include/soc/ddp.h b/src/soc/mediatek/mt8188/include/soc/ddp.h index 475485eb62..da14a2c4e7 100644 --- a/src/soc/mediatek/mt8188/include/soc/ddp.h +++ b/src/soc/mediatek/mt8188/include/soc/ddp.h @@ -283,7 +283,8 @@ enum { }; enum disp_path_sel { - DISP_PATH_EDP = 0, + DISP_PATH_NONE = 0, + DISP_PATH_EDP, DISP_PATH_MIPI, }; -- cgit v1.2.3