[PATCH] ARM : i.MX27 : split code for allocation of ressources of camera and eMMA

Fabio Estevam festevam at gmail.com
Wed Sep 5 14:20:54 EDT 2012


On Wed, Sep 5, 2012 at 12:50 PM, Gaëtan Carlier <gcembed at gmail.com> wrote:

> I also notice a difference between previous release. Before, if CMOS was not
> scanned on I2C, soc-camera failed to init.
> With this release, soc-camera driver loads and create dev node even when
> nothing is connected on I2C bus.

Sylwester suggested me this patch and it fixed the issue:
http://git.linuxtv.org/snawrocki/media.git/commitdiff/458b9b5ab8cb970887c9d1f1fddf88399b2d9ef2

Now ov2640 probes correctly on mx31pdk, but on mx27pdk I have:

soc-camera-pdrv soc-camera-pdrv.0: Probing soc-camera-pdrv.0
mx2-camera mx2-camera.0: Camera driver attached to camera 0
ov2640 0-0030: Product ID error fb:fb
mx2-camera mx2-camera.0: Camera driver detached from camera 0
mx2-camera mx2-camera.0: MX2 Camera (CSI) driver probed, clock
frequency: 66500000

This works fine in 3.4.10 and I suspect this problem is due to the imx
clock conversion as the csi clock frequency looks incorrect.

Javier,

Can you get your camera working on visstrim board using linux-next or
3.6-rc4? Any patches I am missing?

Regards,

Fabio Estevam



More information about the linux-arm-kernel mailing list