[PATCH] arm64: dts: imx8mm-phyboard-polis-peb-av-10-etml1010g3dra: Fix display glitches

From: Andrej Picej

Date: Fri Nov 27 2026 - 04:40:23 EST


The SN65DSI83 bridge derives its LVDS clock from the DSI clock. When the
LCDIF pixel clock is exactly the same as that LVDS clock (72.4 MHz),
the panel randomly shows line glitches after a display start. A DSI
clock slightly above the nominal 434.4 MHz makes the glitches appear on
every start.

With the DSI clock at the nominal 434.4 MHz and the pixel clock at
72.375 MHz, no glitches were seen in 50 display starts.

Override the panel timing with a 72.375 MHz pixel clock, which is still
within the range of the EDT ETML1010G3DRA panel (66.3 - 78.9 MHz), and
fix the DSI clock at the nominal rate. Also assign the initial rates of
video_pll1 and the LCDIF pixel clock.

Fixes: 1811697151f9 ("arm64: dts: imx8mm-phyboard-polis: Add support for PEB-AV-10")
Signed-off-by: Andrej Picej <andrej.picej@xxxxxxxxx>
---

Tested on a phyBOARD-Polis i.MX8MM with PEB-AV-10 on v6.18, on PHYTEC's
NXP-based v6.18.37 kernel, and on v7.4-rc2 with commit 4af021a97773
("drm: bridge: ti-sn65dsi83: Remove NO_HFP and NO_HBP mode flags for
LVDS stability") reverted. With that commit applied (v7.3 and later),
the display glitches constantly on this board, also with this patch.
I will report that separately as a regression of 4af021a97773.

---

...hyboard-polis-peb-av-10-etml1010g3dra.dtso | 38 +++++++++++++++++++
1 file changed, 38 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-peb-av-10-etml1010g3dra.dtso b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-peb-av-10-etml1010g3dra.dtso
index 193fa9dc34d4..0d84578aac75 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-peb-av-10-etml1010g3dra.dtso
+++ b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-peb-av-10-etml1010g3dra.dtso
@@ -23,16 +23,54 @@ &bridge_out {
};

&lcdif {
+ /*
+ * Set the initial pixel clock, so that video_pll1 is not changed to
+ * reach the 24 MHz default.
+ */
+ assigned-clocks = <&clk IMX8MM_VIDEO_PLL1>,
+ <&clk IMX8MM_CLK_LCDIF_PIXEL>,
+ <&clk IMX8MM_CLK_DISP_AXI>,
+ <&clk IMX8MM_CLK_DISP_APB>;
+ assigned-clock-parents = <0>,
+ <&clk IMX8MM_VIDEO_PLL1_OUT>,
+ <&clk IMX8MM_SYS_PLL2_1000M>,
+ <&clk IMX8MM_SYS_PLL1_800M>;
+ assigned-clock-rates = <144750000>, <72375000>,
+ <500000000>, <200000000>;
status = "okay";
};

&mipi_dsi {
+ /* Nominal 72.4 MHz pixel clock * 24 bpp / 4 lanes */
+ samsung,burst-clock-frequency = <434400000>;
status = "okay";
};

&panel {
compatible = "edt,etml1010g3dra";
status = "okay";
+
+ /*
+ * The SN65DSI83 derives the LVDS clock from the DSI clock. With the
+ * LCDIF pixel clock equal to that LVDS clock, the panel shows line
+ * glitches after some display starts. Run the pixel clock slightly
+ * below the nominal 72.4 MHz, while the DSI clock above stays at the
+ * nominal rate.
+ */
+ panel-timing {
+ clock-frequency = <72375000>;
+ hactive = <1280>;
+ vactive = <800>;
+ hfront-porch = <72>;
+ hback-porch = <86>;
+ hsync-len = <2>;
+ vfront-porch = <15>;
+ vback-porch = <21>;
+ vsync-len = <2>;
+ hsync-active = <0>;
+ vsync-active = <0>;
+ de-active = <1>;
+ };
};

&pwm4 {

base-commit: acba37c2e2df26ad722d470777044fd21620834e
--
2.34.1