How to configure ipu1 and ipu2 with different clocks

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to configure ipu1 and ipu2 with different clocks

654 Views
amir_e
Contributor I

Hello

On imx6q, I need to configure two IPU units.

ipu1 is connected to HDMI (full HD) (148500000 hz pixel clock)

ipu2 is connected to mipi_dsi (480x800) (28278000 hz pixel clock) (taking porch+sync values into consideration)

 

The problem is that in the default device tree, both ipu units use the same pixel clock and divider, so when I configure a screen, the 2nd one gets misconfigured.

currently both IPUs point to the same clock, I need to configure alternative clocks for one of the IPUs.

Any suggestions on how to approach this?

Thanks,

Amir

Labels (1)
0 Kudos
1 Reply

481 Views
igorpadykov
NXP Employee
NXP Employee

Hi Amir

one can check suggestions provided on

IMX6, LDB_DI0_SERIAL_CLK_ROOT clock source change 

https://community.nxp.com/thread/434986 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos