[PATCH] RFC: mx27: Add soc_camera support
Alan Carvalho de Assis
acassis at gmail.com
Wed Jan 13 13:33:21 EST 2010
Hi Javier,
On 1/4/10, javier Martin <javier.martin at vista-silicon.com> wrote:
> 2010/1/4 javier Martin <javier.martin at vista-silicon.com>
>
>>
>>
>> 2010/1/4 Alan Carvalho de Assis <acassis at gmail.com>
>>
>> Hi Javier,
>>>
>>> On 1/4/10, javier Martin <javier.martin at vista-silicon.com> wrote:
>>> > Alan,
>>> > please, could you point me against which kernel version did you exactly
>>> test
>>> > this patch?
>>>
>>> It applies on current kernel from
>>> git.pengutronix.de/git/imx/linux-2.6.git
>>>
>>> Thank you for your feedback Alan.
>>
>>> > Also it would be fine to know which video sensor did you use.
>>> >
>>>
>>> I'm planning to use an OV2640 camera.
>>>
>> Does this mean that this patch you are sending has been only
>> compile-tested?
>>
>
> Argh, sorry, you pointed this in your previous mail.
>
> Too bad we don't have any sensor available currently in mainline to do a
> fast test.
>
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.
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
Best Regards,
Alan
More information about the linux-arm-kernel
mailing list