From 2df72d13477b8e4726fde231b6f3e6f9c5c4cb4c Mon Sep 17 00:00:00 2001 From: Xin Ji Date: Wed, 22 Jan 2025 15:04:22 +0800 Subject: [PATCH] mb/google/corsola: Increase ANX7625 data trail time Currently, the eDP panel has display shift issue. This issue is caused by too short HS-trail time. Based on hardware design ANX7625 requires more HS-trail time to finish mipi data packet decoding before entering LP mode. So increase HS-trail time to avoid effect of entering LP mode. da_hs_trail value copy from "kukui/panel_anx7625.c", verified on corsola. BUG=b:391304679 BRANCH=corsola TEST=Display is normal on corsola Change-Id: I677667240c7f3b0e14c6a728931921e32f539c57 Signed-off-by: Xin Ji Reviewed-on: https://review.coreboot.org/c/coreboot/+/86101 Reviewed-by: Yu-Ping Wu Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Yidi Lin --- src/mainboard/google/corsola/panel_anx7625.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/mainboard/google/corsola/panel_anx7625.c b/src/mainboard/google/corsola/panel_anx7625.c index 193a501b87..048713fafd 100644 --- a/src/mainboard/google/corsola/panel_anx7625.c +++ b/src/mainboard/google/corsola/panel_anx7625.c @@ -5,6 +5,7 @@ #include #include #include +#include #include #include "gpio.h" @@ -62,3 +63,8 @@ struct panel_description *get_anx7625_description(void) mtk_i2c_bus_init(BRIDGE_I2C, I2C_SPEED_FAST); return &anx7625_bridge; } + +void mtk_dsi_override_phy_timing(struct mtk_phy_timing *timing) +{ + timing->da_hs_trail += 9; +}