David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 2 | /* |
| 3 | * A V4L2 driver for OmniVision OV7670 cameras. |
| 4 | * |
| 5 | * Copyright 2010 One Laptop Per Child |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef __OV7670_H |
| 9 | #define __OV7670_H |
| 10 | |
| 11 | struct ov7670_config { |
| 12 | int min_width; /* Filter out smaller sizes */ |
| 13 | int min_height; /* Filter out smaller sizes */ |
| 14 | int clock_speed; /* External clock speed (MHz) */ |
| 15 | bool use_smbus; /* Use smbus I/O instead of I2C */ |
| 16 | bool pll_bypass; /* Choose whether to bypass the PLL */ |
| 17 | bool pclk_hb_disable; /* Disable toggling pixclk during horizontal blanking */ |
| 18 | }; |
| 19 | |
| 20 | #endif |