public inbox for linux-sh@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sh: use 10MHz VIO_CLK for ov772x on Migo-R
@ 2008-10-22  9:25 Magnus Damm
  2008-10-22 11:12 ` Paul Mundt
  0 siblings, 1 reply; 2+ messages in thread
From: Magnus Damm @ 2008-10-22  9:25 UTC (permalink / raw)
  To: linux-sh

From: Magnus Damm <damm@igel.co.jp>

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>
---

 arch/sh/boards/mach-migor/setup.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

--- 0001/arch/sh/boards/mach-migor/setup.c
+++ work/arch/sh/boards/mach-migor/setup.c	2008-10-22 12:43:18.000000000 +0900
@@ -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 */

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] sh: use 10MHz VIO_CLK for ov772x on Migo-R
  2008-10-22  9:25 [PATCH] sh: use 10MHz VIO_CLK for ov772x on Migo-R Magnus Damm
@ 2008-10-22 11:12 ` Paul Mundt
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Mundt @ 2008-10-22 11:12 UTC (permalink / raw)
  To: linux-sh

On Wed, Oct 22, 2008 at 06:25:39PM +0900, Magnus Damm wrote:
> 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>

On Wed, Oct 22, 2008 at 06:29:17PM +0900, Magnus Damm wrote:
> 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 <damm@igel.co.jp>

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-10-22 11:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-22  9:25 [PATCH] sh: use 10MHz VIO_CLK for ov772x on Migo-R Magnus Damm
2008-10-22 11:12 ` Paul Mundt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox