]> git.karo-electronics.de Git - mv-sheeva.git/commit
[media] SoC Camera: add driver for OV6650 sensor
authorJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Tue, 5 Oct 2010 14:52:45 +0000 (11:52 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 09:55:38 +0000 (07:55 -0200)
commit2f6e2404799ad610317157b73169c109788da0b0
tree576f417079dc40fe25be7916bda6402a7213f952
parentbdc621fcedf031426551caed4e7517603690fad1
[media] SoC Camera: add driver for OV6650 sensor

This patch provides a V4L2 SoC Camera driver for OV6650 camera sensor, found
on OMAP1 SoC based Amstrad Delta videophone.

Since I have no experience with camera sensors, and the sensor documentation I
was able to find was not very comprehensive, I left most settings at their
default (reset) values, except for:
- those required for proper mediabus parameters and picture geometry and
  format setup,
- those used by controls.
Resulting picture quality may be far from perfect, but better than nothing.

In order to be able to get / set the sensor frame rate from userspace, I
decided to provide two not yet SoC camera supported operations, g_parm and
s_parm. These can be used after applying patch 4/6 from this series,
"SoC Camera: add support for g_parm / s_parm operations".

Created and tested against linux-2.6.36-rc5 on Amstrad Delta.

Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/Kconfig
drivers/media/video/Makefile
drivers/media/video/ov6650.c [new file with mode: 0644]
include/media/v4l2-chip-ident.h