As title, my customer board has refer to sabresd mother board, and I use only one ov5640 module as rear camera via mipi and i2c,
my i2c bus has move to i2c0, so I only modify sabresd board file as follow:
static struct i2c_board_info mxc_i2c0_board_info[] __initdata = {
{
I2C_BOARD_INFO("wm89**", 0x1a),
},
/* {
I2C_BOARD_INFO("ov564x", 0x3c),
.platform_data = (void *)&camera_data,
},*/
{
I2C_BOARD_INFO("mma8x5x", 0x1c),
.irq = gpio_to_irq(SABRESD_ACCL_INT),
.platform_data = (void *)&mma8x5x_position,
},
{
I2C_BOARD_INFO("ov5640_mipi", 0x3c),
.platform_data = (void *)&mipi_csi2_data,
},
};
static struct i2c_board_info mxc_i2c1_board_info[] __initdata = {
{
I2C_BOARD_INFO("mxc_hdmi_i2c", 0x50),
},
/* {
I2C_BOARD_INFO("ov5640_mipi", 0x3c),
.platform_data = (void *)&mipi_csi2_data,
},
{
I2C_BOARD_INFO("egalax_ts", 0x4),
.irq = gpio_to_irq(SABRESD_CAP_TCH_INT0),
},*/
/* {
I2C_BOARD_INFO("max11801", 0x48),
.platform_data = (void *)&max11801_mode,
.irq = gpio_to_irq(SABRESD_TS_INT),
},*/
};
but I still can't connect this camera, I can dump ov5640 registers in rootfs using i2ctools, then I cat /dev/video1,
it still shows read csi2 info fail.
I miss something else that it must be modified?? please help me, thanks!
Hi,
As you can see in this discussion
https://community.freescale.com/message/493807#493807
the customer was able to mount the camera device with no problems. Please make sure you have the same modifications.
Best Regards,
Alejandro
why no any response....sigh..
Hi,
Were you able to make it work?
/Alejandro