xref: /OK3568_Linux_fs/kernel/include/media/i2c/ov7670.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0-only */
2*4882a593Smuzhiyun /*
3*4882a593Smuzhiyun  * A V4L2 driver for OmniVision OV7670 cameras.
4*4882a593Smuzhiyun  *
5*4882a593Smuzhiyun  * Copyright 2010 One Laptop Per Child
6*4882a593Smuzhiyun  */
7*4882a593Smuzhiyun 
8*4882a593Smuzhiyun #ifndef __OV7670_H
9*4882a593Smuzhiyun #define __OV7670_H
10*4882a593Smuzhiyun 
11*4882a593Smuzhiyun struct ov7670_config {
12*4882a593Smuzhiyun 	int min_width;			/* Filter out smaller sizes */
13*4882a593Smuzhiyun 	int min_height;			/* Filter out smaller sizes */
14*4882a593Smuzhiyun 	int clock_speed;		/* External clock speed (MHz) */
15*4882a593Smuzhiyun 	bool use_smbus;			/* Use smbus I/O instead of I2C */
16*4882a593Smuzhiyun 	bool pll_bypass;		/* Choose whether to bypass the PLL */
17*4882a593Smuzhiyun 	bool pclk_hb_disable;		/* Disable toggling pixclk during horizontal blanking */
18*4882a593Smuzhiyun };
19*4882a593Smuzhiyun 
20*4882a593Smuzhiyun #endif
21