[media] media: ov7670: add possibility to bypass pll for ov7675
authorJavier Martin <javier.martin@vista-silicon.com>
Tue, 29 Jan 2013 10:23:42 +0000 (07:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 8 Feb 2013 16:30:48 +0000 (14:30 -0200)
commit04ee6d92047e1ac68d4eb615119343f4f0fc57db
tree4862760c13c38aa3c6dd96a4ab7a01bc9eb8e7c9
parentf6dd927f34d64014c4b196132b5cdf9f2e2a3ae5
[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>
drivers/media/i2c/ov7670.c
include/media/ov7670.h