2011-06-20 19:21:16 +08:00
|
|
|
#ifndef MT9P031_H
|
|
|
|
#define MT9P031_H
|
|
|
|
|
|
|
|
struct v4l2_subdev;
|
|
|
|
|
2012-03-09 21:59:41 +08:00
|
|
|
/*
|
|
|
|
* struct mt9p031_platform_data - MT9P031 platform data
|
|
|
|
* @set_xclk: Clock frequency set callback
|
|
|
|
* @reset: Chip reset GPIO (set to -1 if not used)
|
|
|
|
* @ext_freq: Input clock frequency
|
|
|
|
* @target_freq: Pixel clock frequency
|
|
|
|
*/
|
2011-06-20 19:21:16 +08:00
|
|
|
struct mt9p031_platform_data {
|
|
|
|
int (*set_xclk)(struct v4l2_subdev *subdev, int hz);
|
2012-03-09 21:59:41 +08:00
|
|
|
int reset;
|
|
|
|
int ext_freq;
|
|
|
|
int target_freq;
|
2011-06-20 19:21:16 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|