Daniel Drake | 75e2bda | 2010-10-19 18:24:05 -0300 | [diff] [blame] | 1 | /* |
| 2 | * A V4L2 driver for OmniVision OV7670 cameras. |
| 3 | * |
| 4 | * Copyright 2010 One Laptop Per Child |
| 5 | * |
| 6 | * This file may be distributed under the terms of the GNU General |
| 7 | * Public License, version 2. |
| 8 | */ |
| 9 | |
| 10 | #ifndef __OV7670_H |
| 11 | #define __OV7670_H |
| 12 | |
| 13 | struct ov7670_config { |
| 14 | int min_width; /* Filter out smaller sizes */ |
| 15 | int min_height; /* Filter out smaller sizes */ |
| 16 | int clock_speed; /* External clock speed (MHz) */ |
| 17 | bool use_smbus; /* Use smbus I/O instead of I2C */ |
Javier Martin | 04ee6d9 | 2013-01-29 07:23:42 -0300 | [diff] [blame] | 18 | bool pll_bypass; /* Choose whether to bypass the PLL */ |
Javier Martin | ee95258 | 2013-01-29 07:26:38 -0300 | [diff] [blame] | 19 | bool pclk_hb_disable; /* Disable toggling pixclk during horizontal blanking */ |
Daniel Drake | 75e2bda | 2010-10-19 18:24:05 -0300 | [diff] [blame] | 20 | }; |
| 21 | |
| 22 | #endif |