[PATCH] RFC: mx27: Add soc_camera support
javier Martin
javier.martin at vista-silicon.com
Thu Jan 14 02:28:02 EST 2010
> Unfortunately my camera is not responding to I2C commands, I already
> slow it down to 10kbps with no success. I can see on oscilloscope
> i.MX27 send I2C commands, but the camera doesn't respond to it.
>
No idea what can be causing this. Maybe I2C address is bad in board specific
code?
> Then I tested using the MT9T31 driver and change the it to my I2C
> commands, as I2C is failing I force the probe to return 0. But the
> soc_camera still failing:
>
> Linux video capture interface: v2.00
> write: -5
> MT9T31 Read register 0xFF = -5
> Forcing mt9t031_video_probe to return OK!
> mx27-camera mx27-camera.0: initialising
> mx27-camera: probe of mx27-camera.0 failed with error -2
>
As far as I know, video buffers are allocated in probe() function. Maybe you
have a memory fragmentation problem and you need to move buffer allocation
to init().
We have faced this problem many times in the past.
--
Javier Martin
Vista Silicon S.L.
CDTUC - FASE C - Oficina S-345
Avda de los Castros s/n
39005- Santander. Cantabria. Spain
+34 942 25 32 60
www.vista-silicon.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100114/ba02bb26/attachment-0001.htm>
More information about the linux-arm-kernel
mailing list