Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * A V4L2 driver for OmniVision OV7670 cameras.
0004  *
0005  * Copyright 2010 One Laptop Per Child
0006  */
0007 
0008 #ifndef __OV7670_H
0009 #define __OV7670_H
0010 
0011 struct ov7670_config {
0012     int min_width;          /* Filter out smaller sizes */
0013     int min_height;         /* Filter out smaller sizes */
0014     int clock_speed;        /* External clock speed (MHz) */
0015     bool use_smbus;         /* Use smbus I/O instead of I2C */
0016     bool pll_bypass;        /* Choose whether to bypass the PLL */
0017     bool pclk_hb_disable;       /* Disable toggling pixclk during horizontal blanking */
0018 };
0019 
0020 #endif