public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix USB host on 1510/5910?
@ 2006-03-28 16:44 Jonathan McDowell
  2006-03-28 19:05 ` Jonathan McDowell
  0 siblings, 1 reply; 5+ messages in thread
From: Jonathan McDowell @ 2006-03-28 16:44 UTC (permalink / raw)
  To: linux-omap-open-source

I'm not quite sure if this is necessary or not. I've found I need it to
get USB working correctly on the Amstrad E3, which is an OMAP5910. From
my reading of ohci-omap.c usb_dc_ck is requested for the 1510 as well,
and if it can't be obtained an error is returned.

Does anyone have USB working correctly on a 1510/5910 with latest git
without something like the below?

Signed-Off-By: Jonathan McDowell <noodles@earth.li>

-----
diff --git a/arch/arm/mach-omap1/clock.h b/arch/arm/mach-omap1/clock.h
index b7c6881..db48d73 100644
--- a/arch/arm/mach-omap1/clock.h
+++ b/arch/arm/mach-omap1/clock.h
@@ -633,7 +633,7 @@ static struct clk usb_dc_ck = {
 	.name		= "usb_dc_ck",
 	/* Direct from ULPD, no parent */
 	.rate		= 48000000,
-	.flags		= CLOCK_IN_OMAP16XX | RATE_FIXED,
+	.flags		= CLOCK_IN_OMAP1510 | CLOCK_IN_OMAP16XX | RATE_FIXED,
 	.enable_reg	= (void __iomem *)SOFT_REQ_REG,
 	.enable_bit	= 4,
 	.enable		= &omap1_clk_enable_generic,
-----

J.

-- 

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

end of thread, other threads:[~2006-04-04 14:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-28 16:44 [PATCH] Fix USB host on 1510/5910? Jonathan McDowell
2006-03-28 19:05 ` Jonathan McDowell
2006-03-30 18:02   ` Jonathan McDowell
2006-04-04  7:38     ` Ladislav Michl
2006-04-04 14:47       ` Tony Lindgren

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