From 0f2ce168c850b4ea4b0d71f59c5603bdee85b6b5 Mon Sep 17 00:00:00 2001 From: Detlev Casanova Date: Tue, 5 Apr 2011 09:06:21 -0300 Subject: [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 Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- include/media/mt9v032.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 include/media/mt9v032.h (limited to 'include/media') 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 -- cgit v1.1