linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] sh: add ov772x reset delay on Migo-R
@ 2008-12-10  8:02 Magnus Damm
  2008-12-10  8:07 ` Paul Mundt
  0 siblings, 1 reply; 2+ messages in thread
From: Magnus Damm @ 2008-12-10  8:02 UTC (permalink / raw)
  To: linux-sh

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

Add reset delay for the ov772x device on Migo-R.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
---

 Applies on top of Morimoto-sans ov772x patches.

 arch/sh/boards/mach-migor/setup.c |    1 +
 1 file changed, 1 insertion(+)

--- 0032/arch/sh/boards/mach-migor/setup.c
+++ work/arch/sh/boards/mach-migor/setup.c	2008-12-10 12:41:02.000000000 +0900
@@ -301,6 +301,7 @@ static void camera_power_on(void)
 	gpio_set_value(GPIO_PTT3, 0);
 	mdelay(10);
 	gpio_set_value(GPIO_PTT3, 1);
+	mdelay(10); /* wait to let chip come out of reset */
 }
 
 static void camera_power_off(void)

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

* Re: [PATCH] sh: add ov772x reset delay on Migo-R
  2008-12-10  8:02 [PATCH] sh: add ov772x reset delay on Migo-R Magnus Damm
@ 2008-12-10  8:07 ` Paul Mundt
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Mundt @ 2008-12-10  8:07 UTC (permalink / raw)
  To: linux-sh

On Wed, Dec 10, 2008 at 05:02:13PM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm@igel.co.jp>
> 
> Add reset delay for the ov772x device on Migo-R.
> 
> Signed-off-by: Magnus Damm <damm@igel.co.jp>
> ---
> 
>  Applies on top of Morimoto-sans ov772x patches.
> 
It might, but it also applies without them. So, applied.

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

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-10  8:02 [PATCH] sh: add ov772x reset delay on Migo-R Magnus Damm
2008-12-10  8:07 ` Paul Mundt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).