All of lore.kernel.org
 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

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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.