diff options
author | Detlev Casanova <detlev.casanova@gmail.com> | 2011-04-05 14:06:21 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-05-20 14:29:49 +0200 |
commit | 0f2ce168c850b4ea4b0d71f59c5603bdee85b6b5 (patch) | |
tree | 159beb5ca619cf7ba3b8b07e9cf552491a28132c /include/media/mt9v032.h | |
parent | [media] STV0299 Register 02 on Opera1/Bsru6/z0194a/mantis_vp1033 (diff) | |
download | linux-0f2ce168c850b4ea4b0d71f59c5603bdee85b6b5.tar.xz linux-0f2ce168c850b4ea4b0d71f59c5603bdee85b6b5.zip |
[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/mt9v032.h')
-rw-r--r-- | include/media/mt9v032.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/media/mt9v032.h b/include/media/mt9v032.h new file mode 100644 index 000000000000..5e27f9be6b95 --- /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 |