diff options
author | Detlev Casanova <detlev.casanova@gmail.com> | 2011-04-05 09:06:21 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-05-20 09:29:49 -0300 |
commit | 0f2ce168c850b4ea4b0d71f59c5603bdee85b6b5 (patch) | |
tree | 159beb5ca619cf7ba3b8b07e9cf552491a28132c /include/media/mt9v032.h | |
parent | 9d8e1b5490a4fd2fa71bf3b39e7f1ce513daebcd (diff) | |
download | linux-stable-0f2ce168c850b4ea4b0d71f59c5603bdee85b6b5.tar.gz linux-stable-0f2ce168c850b4ea4b0d71f59c5603bdee85b6b5.tar.bz2 linux-stable-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 |