[PATCH] ARM : i.MX27 : split code for allocation of ressources of camera and eMMA
Gaëtan Carlier
gcembed at gmail.com
Wed Sep 5 14:51:10 EDT 2012
Hi,
On 09/05/2012 08:20 PM, Fabio Estevam wrote:
> 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
>
I notice that before I damaged my ov2640 camera.
> 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.
This is maybe related to the problem that I have already noticed here :
http://mailman.alsa-project.org/pipermail/alsa-devel/2012-August/054594.html
If MMC is disabled, Sound and coda (not sure anymore, I will check it
tomorrow) don't work correctly.
>
> 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
>
Regards,
Gaëtan Carlier.
More information about the linux-arm-kernel
mailing list