diff options
author | Bo-Chen Chen <rex-bc.chen@mediatek.com> | 2022-11-30 14:47:41 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-12-12 13:54:24 +0000 |
commit | 49465167a0050133315b54176d930f600ff12db5 (patch) | |
tree | 28e977917e74de15cdd0922925429a800fd86d90 /src/soc/mediatek/mt8188/include | |
parent | 80f38227cf69c7e619dd039717f6cbd0c11437c5 (diff) |
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 <rex-bc.chen@mediatek.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70404
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yidi Lin <yidilin@google.com>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/soc/mediatek/mt8188/include')
-rw-r--r-- | src/soc/mediatek/mt8188/include/soc/ddp.h | 3 |
1 files changed, 2 insertions, 1 deletions
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, }; |