Hi,
I try to use a parallel LCD panel on i.mx6UL board.
And I change the display timings to a standard VESA timings as the following:
============================================================
================================================================
Then I measure the signal of pixel clock on oscilloscope and get 36 MHz instead of 40 MHz.(It's about 10% errors.)
Then I dump the clock tree information in kernel.
================================================================
================================================================
The "lcdif_pix" is about 36 MHz.
I also check the mxsfb.c
================================================================
================================================================
The clock frequency of "lcdif_pix" in clock tree is set by reference pixel clock (40 MHz).
Then get the pixel clock frequency from "lcdif_pix" (36 MHz).
I guess this problem results from the clock source(PLL) of pixel clock can't be set precisely.
Am i right ?
For some panels with critical timing, it may run into trouble.
Do you have any suggest to get rid of this problem?
Thank you !
Hi Richard
you are right, "lcdif_pix" is set by linux to possible closest value.
Since parent pll clock may be used by other peripherals so sometimes its
value can not be divided precisely for obtaining exact "lcdif_pix" value.
One can try to change parent pll or its value, if possible.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------