mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 19:16:40 +07:00
418d93ac0b
The MT9P031 is a parallel 12-bit 5MP sensor from Aptina (formerly Micron) controlled through I2C. The driver creates a V4L2 subdevice. It currently supports skipping, cropping, automatic binning, and gain, exposure, h/v flip and test pattern controls. Signed-off-by: Javier Martin <javier.martin@vista-silicon.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
20 lines
467 B
C
20 lines
467 B
C
#ifndef MT9P031_H
|
|
#define MT9P031_H
|
|
|
|
struct v4l2_subdev;
|
|
|
|
enum {
|
|
MT9P031_COLOR_VERSION,
|
|
MT9P031_MONOCHROME_VERSION,
|
|
};
|
|
|
|
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 */
|
|
int version; /* MT9P031_COLOR_VERSION or MT9P031_MONOCHROME_VERSION */
|
|
};
|
|
|
|
#endif
|