Javier Martin | 418d93a | 2011-06-20 13:21:16 +0200 | [diff] [blame] | 1 | #ifndef MT9P031_H |
| 2 | #define MT9P031_H |
| 3 | |
| 4 | struct v4l2_subdev; |
| 5 | |
Laurent Pinchart | 15693b5 | 2012-03-09 10:59:41 -0300 | [diff] [blame] | 6 | /* |
| 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 Martin | 418d93a | 2011-06-20 13:21:16 +0200 | [diff] [blame] | 13 | struct mt9p031_platform_data { |
| 14 | int (*set_xclk)(struct v4l2_subdev *subdev, int hz); |
Laurent Pinchart | 15693b5 | 2012-03-09 10:59:41 -0300 | [diff] [blame] | 15 | int reset; |
| 16 | int ext_freq; |
| 17 | int target_freq; |
Javier Martin | 418d93a | 2011-06-20 13:21:16 +0200 | [diff] [blame] | 18 | }; |
| 19 | |
| 20 | #endif |