mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-01 02:21:16 +00:00
15693b5793
Use the GPIO from the sensor driver instead of calling back to board code. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
20 lines
431 B
C
20 lines
431 B
C
#ifndef MT9P031_H
|
|
#define MT9P031_H
|
|
|
|
struct v4l2_subdev;
|
|
|
|
/*
|
|
* 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
|
|
*/
|
|
struct mt9p031_platform_data {
|
|
int (*set_xclk)(struct v4l2_subdev *subdev, int hz);
|
|
int reset;
|
|
int ext_freq;
|
|
int target_freq;
|
|
};
|
|
|
|
#endif
|