diff options
author | Detlev Casanova <detlev.casanova@gmail.com> | 2011-04-05 08:06:21 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-05-20 08:29:49 -0400 |
commit | 0f2ce168c850b4ea4b0d71f59c5603bdee85b6b5 (patch) | |
tree | 159beb5ca619cf7ba3b8b07e9cf552491a28132c /include/media | |
parent | 9d8e1b5490a4fd2fa71bf3b39e7f1ce513daebcd (diff) |
[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.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 @@ | |||
1 | #ifndef _MEDIA_MT9V032_H | ||
2 | #define _MEDIA_MT9V032_H | ||
3 | |||
4 | struct v4l2_subdev; | ||
5 | |||
6 | struct mt9v032_platform_data { | ||
7 | unsigned int clk_pol:1; | ||
8 | |||
9 | void (*set_clock)(struct v4l2_subdev *subdev, unsigned int rate); | ||
10 | }; | ||
11 | |||
12 | #endif | ||