public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] OMAP1: AMS_DELTA: Fix DSP public peripherals support
@ 2009-10-22  0:22 Janusz Krzysztofik
  2009-10-22 12:21 ` [PATCH resend] " Janusz Krzysztofik
  0 siblings, 1 reply; 6+ messages in thread
From: Janusz Krzysztofik @ 2009-10-22  0:22 UTC (permalink / raw)
  To: Jonathan McDowell; +Cc: Tony Lindgren, linux-omap@vger.kernel.org, e3-hacking

DSP public peripherals used to work on OMAP1510 based (or all OMAP1 class?)
machines as long as old dspgateway code were present in the l-o tree. For
several months it is no longer included, breaking support for McBSP1 based
audio on Amstrad Delta, for example.

This patch, derived from the old dspgateway code, corrects the problem for the
board by simply taking the DSP out of reset state, I guess. That way, things
should not break when a new dsp code is added to the tree, and the change can
be reverted then.

If there are any reports on McBSP1 or other DSP public peripherals not working
for other OMAP1 machines (I've not heard of any for now), I can prepare a more
general patch providing an extra include file with a helper function defined.

Created and tested against linux-2.6.32-rc5

Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>

---
--- linux-2.6.32-rc5/arch/arm/mach-omap1/board-ams-delta.c.orig	2009-10-22 
00:55:49.000000000 +0200
+++ linux-2.6.32-rc5/arch/arm/mach-omap1/board-ams-delta.c	2009-10-22 
01:46:39.000000000 +0200
@@ -235,6 +235,8 @@ static void __init ams_delta_init(void)
 
 	omap_usb_init(&ams_delta_usb_config);
 	platform_add_devices(ams_delta_devices, ARRAY_SIZE(ams_delta_devices));
+
+	omap_writew(omap_readw(ARM_RSTCT1) | 0x0004, ARM_RSTCT1);
 }
 
 static struct plat_serial8250_port ams_delta_modem_ports[] = {

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

end of thread, other threads:[~2009-10-22 19:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-22  0:22 [PATCH] OMAP1: AMS_DELTA: Fix DSP public peripherals support Janusz Krzysztofik
2009-10-22 12:21 ` [PATCH resend] " Janusz Krzysztofik
2009-10-22 18:06   ` Tony Lindgren
2009-10-22 19:15     ` Janusz Krzysztofik
2009-10-22 19:22       ` Tony Lindgren
2009-10-22 18:44   ` [APPLIED] " Tony Lindgren

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