aboutsummaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorJavier Martin <javier.martin@vista-silicon.com>2013-01-29 05:26:38 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-02-08 11:35:06 -0500
commitee95258ed3926f3aa2cf8d62e62cd51be466fe26 (patch)
treec4ad96a07a767d8c475cfaceb16003e99648a08e /include/media
parent04ee6d92047e1ac68d4eb615119343f4f0fc57db (diff)
[media] media: ov7670: Add possibility to disable pixclk during hblank
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>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/ov7670.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/ov7670.h b/include/media/ov7670.h
index a68c8bb3ceba..1913d5123072 100644
--- a/include/media/ov7670.h
+++ b/include/media/ov7670.h
@@ -16,6 +16,7 @@ struct ov7670_config {
16 int clock_speed; /* External clock speed (MHz) */ 16 int clock_speed; /* External clock speed (MHz) */
17 bool use_smbus; /* Use smbus I/O instead of I2C */ 17 bool use_smbus; /* Use smbus I/O instead of I2C */
18 bool pll_bypass; /* Choose whether to bypass the PLL */ 18 bool pll_bypass; /* Choose whether to bypass the PLL */
19 bool pclk_hb_disable; /* Disable toggling pixclk during horizontal blanking */
19}; 20};
20 21
21#endif 22#endif