summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJitao Shi <jitao.shi@mediatek.com>2021-02-07 21:39:16 +0800
committerPatrick Georgi <pgeorgi@google.com>2021-03-28 15:55:48 +0000
commit6482b16c7f81792735b61682dad2c55d36a77f3b (patch)
treeeae0dff05040d0fbd5734a6752420711791321d5
parentc57cae8c8b6b3cd492470d718c06ca931094b3be (diff)
mb/google/kukui: fine tune the data lane trail
ANX7625 requires customized hs_da_trail time. So override the data trail for ANX7625. BUG=b:173603645 BRANCH=kukui TEST=Display is normal on Jacuzzi Signed-off-by: Jitao Shi <jitao.shi@mediatek.com> Change-Id: I620035363507daaa19e3c272a44059c17be29af1 Reviewed-on: https://review.coreboot.org/c/coreboot/+/51433 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Chen-Tsung Hsieh <chentsung@chromium.org>
-rw-r--r--src/mainboard/google/kukui/panel_anx7625.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/google/kukui/panel_anx7625.c b/src/mainboard/google/kukui/panel_anx7625.c
index aa22cf3edf..034154d0e4 100644
--- a/src/mainboard/google/kukui/panel_anx7625.c
+++ b/src/mainboard/google/kukui/panel_anx7625.c
@@ -5,6 +5,7 @@
#include <drivers/analogix/anx7625/anx7625.h>
#include <edid.h>
#include <gpio.h>
+#include <soc/dsi.h>
#include <soc/i2c.h>
#include "panel.h"
@@ -72,3 +73,8 @@ struct panel_description *get_panel_description(int panel_id)
}
return &anx7625_panel;
}
+
+void mtk_dsi_override_phy_timing(struct mtk_phy_timing *timing)
+{
+ timing->da_hs_trail += 9;
+}