mt9p031.h 467 B

1234567891011121314151617181920
  1. #ifndef MT9P031_H
  2. #define MT9P031_H
  3. struct v4l2_subdev;
  4. enum {
  5. MT9P031_COLOR_VERSION,
  6. MT9P031_MONOCHROME_VERSION,
  7. };
  8. struct mt9p031_platform_data {
  9. int (*set_xclk)(struct v4l2_subdev *subdev, int hz);
  10. int (*reset)(struct v4l2_subdev *subdev, int active);
  11. int ext_freq; /* input frequency to the mt9p031 for PLL dividers */
  12. int target_freq; /* frequency target for the PLL */
  13. int version; /* MT9P031_COLOR_VERSION or MT9P031_MONOCHROME_VERSION */
  14. };
  15. #endif