AnsweredAssumed Answered

i.mx8mq with OV5640, one lane config

Question asked by subhasish ghosh on Feb 5, 2020
Latest reply on Feb 5, 2020 by igorpadykov

Hi,

 

I am trying to configure OV5640 ( MINISASTOCSI) with the imx8mq EVM with one lane config. I followed the process as described in Single Lane Mipi interface to i.mx6 

However, the camera did not stream any data with the following command:

gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480 ! autovideosink

 

The same command works with the default 2 lane config.

 

I suspect the clock requirements on the DPHY side is not met.

 

Do we have any pointers on how to debug this for imx8. Most of the documentation available is for i.mx6 or 7.

I also changed the clock to as follows:

drivers/clk/imx/clk-imx8mq.c

clk_set_parent(clks[IMX8MQ_CLK_CSI2_CORE], clks[IMX8MQ_SYS1_PLL_800M]);

 

However, the camera still failed to stream.

Outcomes