summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorDetlev Casanova <detlev.casanova@gmail.com>2011-04-05 09:06:21 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-05-20 09:29:49 -0300
commit0f2ce168c850b4ea4b0d71f59c5603bdee85b6b5 (patch)
tree159beb5ca619cf7ba3b8b07e9cf552491a28132c /include/media
parent9d8e1b5490a4fd2fa71bf3b39e7f1ce513daebcd (diff)
downloadop-kernel-dev-0f2ce168c850b4ea4b0d71f59c5603bdee85b6b5.zip
op-kernel-dev-0f2ce168c850b4ea4b0d71f59c5603bdee85b6b5.tar.gz
[media] v4l: Add mt9v032 sensor driver
The MT9V032 is a parallel wide VGA sensor from Aptina (formerly Micron) controlled through I2C. The driver creates a V4L2 subdevice. It currently supports binning and cropping, and the gain, auto gain, exposure, auto exposure and test pattern controls. Signed-off-by: Detlev Casanova <detlev.casanova@gmail.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/mt9v032.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/media/mt9v032.h b/include/media/mt9v032.h
new file mode 100644
index 0000000..5e27f9b
--- /dev/null
+++ b/include/media/mt9v032.h
@@ -0,0 +1,12 @@
+#ifndef _MEDIA_MT9V032_H
+#define _MEDIA_MT9V032_H
+
+struct v4l2_subdev;
+
+struct mt9v032_platform_data {
+ unsigned int clk_pol:1;
+
+ void (*set_clock)(struct v4l2_subdev *subdev, unsigned int rate);
+};
+
+#endif
OpenPOWER on IntegriCloud