AnsweredAssumed Answered

ov5640 not working with imx53

Question asked by varma siravuri on Aug 30, 2013

I working on a IMX53 board based on the IMX53-QSB HW and linaro-bsp(linux-2.6.35.3). I've connected OV5640 camera module on the CSI0 interface. The camera is not getting detected.

Looking at the kernel boot log. I can see that the I2C transfer is not successful.

I made a few modifications to the mx53_loco.c file and added a few lines(taken from mx53_smd.c) as shown below.

static struct mxc_camera_platform_data camera_data = {

    //.analog_regulator = "DA9052_LDO7",

    //.core_regulator = "DA9052_LDO9",

    .mclk = 24000000,

    .csi = 0,

};

static struct i2c_board_info mxc_i2c0_board_info[] __initdata = {

    {

    .type = "mma8450",

    .addr = 0x1C,

     },

    {

    .type = "ov5640",

    .addr = 0x3C,

    .platform_data = (void *)&camera_data,

     },

};

 

I don't know what is missing. I've attached my interface diagram and the kernel boot logs. Added extra I2C debug messages to the log.

Can someone help me on this?

Original Attachment has been moved to: kern_log.txt.zip

Attachments

Outcomes