AnsweredAssumed Answered

imx6q  two cameras(mipi ov5640 and csi ov5642) work at the same time

Question asked by lucius lu on Apr 3, 2017
Latest reply on Apr 3, 2017 by lucius lu

hi  all,

now I am debugging the cameras driver in the platform of imx6q_sabreSD and the kernel is "linux-imx6-boundary-imx-3.0.35_4.0.0-vivante-4.6.9p12". I encountered a problem :i can capture image independently well (either mipi ov5640 or csi ov5640).but the both cameras cannot work simultaneously.

my i2c register is as follow:

1.

static struct i2c_board_info mxc_i2c0_board_info[] __initdata = {

 {

  I2C_BOARD_INFO("ov564x", 0x3c),

  .platform_data = (void *)&camera_data,

 },

...

};

2.

static struct i2c_board_info mxc_i2c1_board_info[] __initdata = {

 {

  I2C_BOARD_INFO("ov5640_mipi", 0x3c),

  .platform_data = (void *)&mipi_csi2_data,

 },

 ...

}

so there is no conflit on i2c pipeline.

I don't know where the problem is?

I beg someone can give me a solution,a patch or where to fix the problem!

 

 

best regards!

 

lucky

Outcomes