summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorJavier Martin <javier.martin@vista-silicon.com>2013-01-29 07:23:42 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-02-08 14:30:48 -0200
commit04ee6d92047e1ac68d4eb615119343f4f0fc57db (patch)
tree4862760c13c38aa3c6dd96a4ab7a01bc9eb8e7c9 /include/media
parentf6dd927f34d64014c4b196132b5cdf9f2e2a3ae5 (diff)
downloadlinux-stable-04ee6d92047e1ac68d4eb615119343f4f0fc57db.tar.gz
linux-stable-04ee6d92047e1ac68d4eb615119343f4f0fc57db.tar.bz2
linux-stable-04ee6d92047e1ac68d4eb615119343f4f0fc57db.zip
[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')
-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 {
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 */
};
#endif