Skip to content

Commit 4fbb734

Browse files
Marek VasutShawn Guo
authored andcommitted
arm64: dts: imx8mp-phyboard-pollux: Set Video PLL1 frequency to 506.8 MHz
The LVDS panel on this device uses 72.4 MHz pixel clock, set IMX8MP_VIDEO_PLL1 to 72.4 * 7 = 506.8 MHz so the LDB serializer and LCDIFv3 scanout engine can reach accurate pixel clock of exactly 72.4 MHz. Without this patch, the Video PLL1 frequency is the default set in imx8mp.dtsi which is 1039.5 MHz, which divides down to inaccurate pixel clock of 74.25 MHz which works for this particular panel by sheer chance. Stop taking that chance and set correct accurate pixel clock frequency instead. Fixes: 326d86e ("arm64: dts: imx8mp-phyboard-pollux-rdk: add etml panel support") Reported-by: Isaac Scott <[email protected]> Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Yannic Moog <[email protected]> Tested-by: Yannic Moog <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent eab6ba2 commit 4fbb734

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,18 @@
218218
};
219219
};
220220

221+
&media_blk_ctrl {
222+
/*
223+
* The LVDS panel on this device uses 72.4 MHz pixel clock,
224+
* set IMX8MP_VIDEO_PLL1 to 72.4 * 7 = 506.8 MHz so the LDB
225+
* serializer and LCDIFv3 scanout engine can reach accurate
226+
* pixel clock of exactly 72.4 MHz.
227+
*/
228+
assigned-clock-rates = <500000000>, <200000000>,
229+
<0>, <0>, <500000000>,
230+
<506800000>;
231+
};
232+
221233
&snvs_pwrkey {
222234
status = "okay";
223235
};

0 commit comments

Comments
 (0)