aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/ov7670.h
diff options
context:
space:
mode:
authorJavier Martin <javier.martin@vista-silicon.com>2013-01-29 05:23:42 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-02-08 11:30:48 -0500
commit04ee6d92047e1ac68d4eb615119343f4f0fc57db (patch)
tree4862760c13c38aa3c6dd96a4ab7a01bc9eb8e7c9 /include/media/ov7670.h
parentf6dd927f34d64014c4b196132b5cdf9f2e2a3ae5 (diff)
[media] media: ov7670: add possibility to bypass pll for ov7675
For a frame rate of 30 fps a pixclk of 24MHz is needed. For those cases where the ov7670 has a clean 24MHz input (xvclk) the PLL can be bypassed. This will result in a value of clkrc of 1, which means that in practice pixclk = xvclk (input clock) 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/ov7670.h')
-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 b133bc123031..a68c8bb3ceba 100644
--- a/include/media/ov7670.h
+++ b/include/media/ov7670.h
@@ -15,6 +15,7 @@ struct ov7670_config {
15 int min_height; /* Filter out smaller sizes */ 15 int min_height; /* Filter out smaller sizes */
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}; 19};
19 20
20#endif 21#endif