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>
diff --git a/src/mainboard/google/kukui/panel_anx7625.c b/src/mainboard/google/kukui/panel_anx7625.c
index aa22cf3..034154d 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 @@
}
return &anx7625_panel;
}
+
+void mtk_dsi_override_phy_timing(struct mtk_phy_timing *timing)
+{
+ timing->da_hs_trail += 9;
+}