From: Toshihiro Kobayashi Date: Fri, 8 Dec 2006 00:20:22 +0000 (-0800) Subject: ARM: OMAP: Add DSP common code X-Git-Tag: v2.6.22-omap1~138^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a32e0c8073d6d357f98804fad2f4325fab2cb940;p=pandora-kernel.git ARM: OMAP: Add DSP common code Add DSP common code for OMAP. This patch adds code to idle the OMAP DSP. Signed-off-by: Toshihiro Kobayashi Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/plat-omap/Makefile b/arch/arm/plat-omap/Makefile index 2549129aabc6..d55ca99ae034 100644 --- a/arch/arm/plat-omap/Makefile +++ b/arch/arm/plat-omap/Makefile @@ -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 index 000000000000..0d62beee8a39 --- /dev/null +++ b/arch/arm/plat-omap/dsp/Kconfig @@ -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. + Reading git-diff-tree failed