]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - include/media/mt9p031.h
[media] V4L: soc-camera: make (almost) all client drivers re-usable outside of the...
[mirror_ubuntu-artful-kernel.git] / include / media / mt9p031.h
CommitLineData
418d93ac
JM
1#ifndef MT9P031_H
2#define MT9P031_H
3
4struct v4l2_subdev;
5
6enum {
7 MT9P031_COLOR_VERSION,
8 MT9P031_MONOCHROME_VERSION,
9};
10
11struct mt9p031_platform_data {
12 int (*set_xclk)(struct v4l2_subdev *subdev, int hz);
13 int (*reset)(struct v4l2_subdev *subdev, int active);
14 int ext_freq; /* input frequency to the mt9p031 for PLL dividers */
15 int target_freq; /* frequency target for the PLL */
16 int version; /* MT9P031_COLOR_VERSION or MT9P031_MONOCHROME_VERSION */
17};
18
19#endif