sh: use 10MHz VIO_CLK for ov772x on Migo-R
PATCH 1/1 sh: use 10MHz VIO_CLK for ov772x on Migo-R
From: Magnus Damm <[email protected]>
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 <[email protected]>
---
arch/sh/boards/mach-migor/setup.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
arch/sh/boards/mach-migor/setup.c +4 -1
@@ -288,8 +288,11 @@ static struct clk *camera_clk;static void camera_power_on (void ) { +/* Use 10 MHz VIO_CKO instead of 24 MHz to work +* around signal quality issues on Panel Board V2.1. +*/ camera_clk =clk_get (NULL ,"video_clk" ); -clk_set_rate (camera_clk,24000000 ); +clk_set_rate (camera_clk,10000000 );clk_enable (camera_clk);/* start VIO_CKO */ /* use VIO_RST to take camera out of reset */
Paul Mundt
AppliedQuoted 4 lines · Magnus Damm
Use a slower
VIO_CKOclock frequency for the ov772x on Migo-R. This improves the camera picture quality on Panel Board V2.1.Signed-off-by Magnus Damm <[email protected]>
Quoted 6 lines · Magnus Damm
This patch improves the support for gpio pins that are hard wired to either input or output and lack control register association. A special force enum id is used to allow use without control register but still mark the gpio pin as input or output.
Signed-off-by Magnus Damm <[email protected]>
Applied, thanks.