forked from Minki/linux
1c542ba854
Instead of passing a color/monochrome flag through platform data, rely on the I2C device name to identify the chip model. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 lines
331 B
C
14 lines
331 B
C
#ifndef MT9P031_H
|
|
#define MT9P031_H
|
|
|
|
struct v4l2_subdev;
|
|
|
|
struct mt9p031_platform_data {
|
|
int (*set_xclk)(struct v4l2_subdev *subdev, int hz);
|
|
int (*reset)(struct v4l2_subdev *subdev, int active);
|
|
int ext_freq; /* input frequency to the mt9p031 for PLL dividers */
|
|
int target_freq; /* frequency target for the PLL */
|
|
};
|
|
|
|
#endif
|