mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 20:54:10 +08:00
d67492585d
Configure the device external clock using the common clock framework instead of a board code callback function. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Sakari Ailus <sakari.ailus@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
19 lines
334 B
C
19 lines
334 B
C
#ifndef MT9P031_H
|
|
#define MT9P031_H
|
|
|
|
struct v4l2_subdev;
|
|
|
|
/*
|
|
* struct mt9p031_platform_data - MT9P031 platform data
|
|
* @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 reset;
|
|
int ext_freq;
|
|
int target_freq;
|
|
};
|
|
|
|
#endif
|