jitao shi has uploaded this change for review.

View Change

soc/mediatek: dsi: tune the dphy time by eotp enable

Eotp will make the line time larger than disable Eotp. So the hfp and
hbp should be reduced to keep line time.

BRANCH=kukui
BUG=b:168728787
TEST=Boots correctly on Kukui

Signed-off-by: Jitao Shi <jitao.shi@mediatek.com>
Change-Id: I040e4f7fb3ada0a1b2bcf06ea30cf93d98775d6a
---
M src/soc/mediatek/common/dsi.c
1 file changed, 4 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/53/48953/1
diff --git a/src/soc/mediatek/common/dsi.c b/src/soc/mediatek/common/dsi.c
index 2505bbc..fca0069 100644
--- a/src/soc/mediatek/common/dsi.c
+++ b/src/soc/mediatek/common/dsi.c
@@ -202,6 +202,10 @@
phy_timing->da_hs_zero + phy_timing->da_hs_exit + 3;

u32 delta = 12;
+
+ if (!(mode_flags & MIPI_DSI_MODE_EOT_PACKET))
+ delta += 2;
+
if (mode_flags & MIPI_DSI_MODE_VIDEO_BURST)
delta += 6;


To view, visit change 48953. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I040e4f7fb3ada0a1b2bcf06ea30cf93d98775d6a
Gerrit-Change-Number: 48953
Gerrit-PatchSet: 1
Gerrit-Owner: jitao shi <jitao.shi@mediatek.com>
Gerrit-MessageType: newchange