blob: 0c97b19af29389efca7cda37b6034ee82c38129d [file] [log] [blame]
Javier Martin418d93a2011-06-20 13:21:16 +02001#ifndef MT9P031_H
2#define MT9P031_H
3
4struct v4l2_subdev;
5
Laurent Pinchart15693b52012-03-09 10:59:41 -03006/*
7 * struct mt9p031_platform_data - MT9P031 platform data
8 * @set_xclk: Clock frequency set callback
9 * @reset: Chip reset GPIO (set to -1 if not used)
10 * @ext_freq: Input clock frequency
11 * @target_freq: Pixel clock frequency
12 */
Javier Martin418d93a2011-06-20 13:21:16 +020013struct mt9p031_platform_data {
14 int (*set_xclk)(struct v4l2_subdev *subdev, int hz);
Laurent Pinchart15693b52012-03-09 10:59:41 -030015 int reset;
16 int ext_freq;
17 int target_freq;
Javier Martin418d93a2011-06-20 13:21:16 +020018};
19
20#endif