ARM: OMAP: Add DSP common code
authorToshihiro Kobayashi <toshihiro.kobayashi@nokia.com>
Fri, 8 Dec 2006 00:20:22 +0000 (16:20 -0800)
committerTony Lindgren <tony@atomide.com>
Tue, 5 Jun 2007 07:58:03 +0000 (00:58 -0700)
Add DSP common code for OMAP. This patch adds code to idle the
OMAP DSP.

Signed-off-by: Toshihiro Kobayashi <toshihiro.kobayashi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/Makefile
arch/arm/plat-omap/dsp/Kconfig [new file with mode: 0644]
arch/arm/plat-omap/dsp/Makefile [new file with mode: 0644]
arch/arm/plat-omap/dsp/dsp_common.c [new file with mode: 0644]
arch/arm/plat-omap/dsp/dsp_common.h [new file with mode: 0644]
arch/arm/plat-omap/dsp/hardware_dsp.h [new file with mode: 0644]
arch/arm/plat-omap/dsp/omap1_dsp.h [new file with mode: 0644]
arch/arm/plat-omap/dsp/omap2_dsp.h [new file with mode: 0644]
arch/arm/plat-omap/mcbsp.c

index 2549129..d55ca99 100644 (file)
@@ -19,3 +19,7 @@ obj-$(CONFIG_CPU_FREQ) += cpu-omap.o
 obj-$(CONFIG_OMAP_DM_TIMER) += dmtimer.o
 obj-$(CONFIG_OMAP_DEBUG_DEVICES) += debug-devices.o
 obj-$(CONFIG_OMAP_DEBUG_LEDS) += debug-leds.o
+
+# DSP subsystem
+obj-y += dsp/
+obj-$(CONFIG_OMAP_DSP) += mailbox.o
diff --git a/arch/arm/plat-omap/dsp/Kconfig b/arch/arm/plat-omap/dsp/Kconfig
new file mode 100644 (file)
index 0000000..0d62bee
--- /dev/null
@@ -0,0 +1,31 @@
+
+config OMAP_DSP
+       tristate "OMAP DSP driver (DSP Gateway)"
+       depends on ARCH_OMAP15XX || ARCH_OMAP16XX || ARCH_OMAP24XX
+       select OMAP_MMU_FWK
+       select OMAP_MBOX_FWK
+       help
+         This enables OMAP DSP driver, DSP Gateway.
+
+config OMAP_DSP_MBCMD_VERBOSE
+       bool "Mailbox Command Verbose LOG"
+       depends on OMAP_DSP
+       help
+          This enables kernel log output in the Mailbox command exchanges
+         in the DSP Gateway driver.
+
+config OMAP_DSP_TASK_MULTIOPEN
+       bool "DSP Task Multiopen Capability"
+       depends on OMAP_DSP
+       help
+          This enables DSP tasks to be opened by multiple times at a time.
+         Otherwise, they can be opened only once at a time.
+
+config OMAP_DSP_FBEXPORT
+       bool "Framebuffer export to DSP"
+       depends on OMAP_DSP && FB
+       help
+          This enables to map the frame buffer to DSP.
+         By doing this, DSP can access the frame buffer directly without
+         bothering ARM.
+
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge