diff options
author | Magnus Damm <damm@igel.co.jp> | 2008-10-22 05:25:39 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-10-22 05:34:09 -0400 |
commit | 22ee3ba611e0aa73228ae64fa68d89c52367702a (patch) | |
tree | 4be13a693780d52e8fd904e3aab03e9afddad156 /arch/sh/boards | |
parent | ed0b2ef55a393b96211e209f26544f2f180b0fe8 (diff) |
sh: use 10MHz VIO_CLK for ov772x on Migo-R
Use a slower VIO_CKO clock frequency for the ov772x on Migo-R.
This improves the camera picture quality on Panel Board V2.1.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards')
-rw-r--r-- | arch/sh/boards/mach-migor/setup.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/sh/boards/mach-migor/setup.c b/arch/sh/boards/mach-migor/setup.c index b4471931b877..975281980299 100644 --- a/arch/sh/boards/mach-migor/setup.c +++ b/arch/sh/boards/mach-migor/setup.c | |||
@@ -288,8 +288,11 @@ static struct clk *camera_clk; | |||
288 | 288 | ||
289 | static void camera_power_on(void) | 289 | static void camera_power_on(void) |
290 | { | 290 | { |
291 | /* Use 10 MHz VIO_CKO instead of 24 MHz to work | ||
292 | * around signal quality issues on Panel Board V2.1. | ||
293 | */ | ||
291 | camera_clk = clk_get(NULL, "video_clk"); | 294 | camera_clk = clk_get(NULL, "video_clk"); |
292 | clk_set_rate(camera_clk, 24000000); | 295 | clk_set_rate(camera_clk, 10000000); |
293 | clk_enable(camera_clk); /* start VIO_CKO */ | 296 | clk_enable(camera_clk); /* start VIO_CKO */ |
294 | 297 | ||
295 | /* use VIO_RST to take camera out of reset */ | 298 | /* use VIO_RST to take camera out of reset */ |