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 <xji@analogix.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86101
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Yidi Lin <yidilin@google.com>
This commit is contained in:
Xin Ji 2025-01-22 15:04:22 +08:00 committed by Yidi Lin
commit 2df72d1347

View file

@ -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 "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;
}