mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
![Javier Martin](/assets/img/avatar_default.png)
Some bridge drivers capture pixels during blanking periods if pixclk is enabled. In order to avoid capturing bogus data we need to disable pixclk in the sensor during those blanking periods. Acked-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Javier Martin <javier.martin@vista-silicon.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
22 lines
615 B
C
22 lines
615 B
C
/*
|
|
* A V4L2 driver for OmniVision OV7670 cameras.
|
|
*
|
|
* Copyright 2010 One Laptop Per Child
|
|
*
|
|
* This file may be distributed under the terms of the GNU General
|
|
* Public License, version 2.
|
|
*/
|
|
|
|
#ifndef __OV7670_H
|
|
#define __OV7670_H
|
|
|
|
struct ov7670_config {
|
|
int min_width; /* Filter out smaller sizes */
|
|
int min_height; /* Filter out smaller sizes */
|
|
int clock_speed; /* External clock speed (MHz) */
|
|
bool use_smbus; /* Use smbus I/O instead of I2C */
|
|
bool pll_bypass; /* Choose whether to bypass the PLL */
|
|
bool pclk_hb_disable; /* Disable toggling pixclk during horizontal blanking */
|
|
};
|
|
|
|
#endif
|