Yidi Lin has submitted this change. ( https://review.coreboot.org/c/coreboot/+/86101?usp=email )
(
4 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. )Change subject: mb/google/corsola: Increase ANX7625 data trail time ......................................................................
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 --- M src/mainboard/google/corsola/panel_anx7625.c 1 file changed, 6 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Paul Menzel: Looks good to me, but someone else must approve Yu-Ping Wu: Looks good to me, approved Yidi Lin: Looks good to me, approved
diff --git a/src/mainboard/google/corsola/panel_anx7625.c b/src/mainboard/google/corsola/panel_anx7625.c index 193a501..048713f 100644 --- a/src/mainboard/google/corsola/panel_anx7625.c +++ b/src/mainboard/google/corsola/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 "gpio.h" @@ -62,3 +63,8 @@ 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; +}