AnsweredAssumed Answered

About No gated mode and bt656 for MIPI camera

Question asked by ludovic leau-mercier on Jun 3, 2015
Latest reply on Jun 8, 2015 by Wigros Sun



i continue to debug my mipi camera driver.

I have read in the application processor reference manula that the "When working with MIPI, the non-gated mode should be configured."

How i can do this exactly ?

In the mxc_v4l2_capture.c the mode IPU_CSI_CLK_MODE_NONGATED_CLK is not used.


And at this moment my camera prototype don't use BT656 mode and i configure v4l2_ifparm like this :

     p->u.bt656.clock_curr = camera_data.mclk; // must be 0 if interlaced

     pr_debug("%s() clock_curr=mclk=%d\n", __func__, camera_data.mclk);

     p->if_type = V4L2_IF_TYPE_BT656;

     p->u.bt656.mode = V4L2_IF_TYPE_BT656_MODE_NOBT_8BIT;

     p->u.bt656.clock_min = DEFAULT_XCLK_MIN;

     p->u.bt656.clock_max = DEFAULT_XCLK_MAX;

     p->u.bt656.bt_sync_correct = 1;  /* Indicate external vsync */


What is the bt656.clock_curr ?