WSL2-Linux-Kernel/arch/arm/mach-davinci
Sekhar Nori 48519f0ae0 ASoC: davinci: let platform data define edma queue numbers
Currently the EDMA queue to be used by for servicing ASP through
internal RAM is fixed to EDMAQ_0 and that to service internal RAM
from external RAM is fixed to EDMAQ_1.

This may not be the desirable configuration on all platforms. For
example, on DM365, queue 0 has large fifo size and is more suitable
for video transfers. Having audio and video transfers on the same
queue may lead to starvation on audio side.

platform data as defined currently passes a queue number to the driver
but that remains unused inside the driver.

Fix this by defining one queue each for ASP and RAM transfers in the
platform data and using it inside the driver.

Since EDMAQ_0 maps to 0, thats the queue that will be used if
the asp queue number is not initialized. None of the platforms
currently utilize ping-pong transfers through internal RAM so that
functionality remains unchanged too.

This patch has been tested on DM644x and OMAP-L138 EVMs.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2010-07-20 09:57:20 +01:00
..
include/mach ASoC: davinci: let platform data define edma queue numbers 2010-07-20 09:57:20 +01:00
Kconfig Davinci: allow SOCs based on other ARM CPUs 2010-05-06 15:02:03 -07:00
Makefile davinci: add CDCE949 support on DM6467 EVM 2010-02-04 13:29:59 -08:00
Makefile.boot davinci: da8xx: Add base DA830/OMAP-L137 SoC support 2009-08-26 10:56:59 +03:00
board-da830-evm.c ASoC: davinci: let platform data define edma queue numbers 2010-07-20 09:57:20 +01:00
board-da850-evm.c ASoC: davinci: let platform data define edma queue numbers 2010-07-20 09:57:20 +01:00
board-dm355-evm.c Davinci: aintc/cpintc - use ioremap() 2010-05-13 10:05:28 -07:00
board-dm355-leopard.c Davinci: aintc/cpintc - use ioremap() 2010-05-13 10:05:28 -07:00
board-dm365-evm.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 2010-05-20 09:41:44 -07:00
board-dm644x-evm.c Davinci: aintc/cpintc - use ioremap() 2010-05-13 10:05:28 -07:00
board-dm646x-evm.c ASoC: davinci: let platform data define edma queue numbers 2010-07-20 09:57:20 +01:00
board-neuros-osd2.c Davinci: aintc/cpintc - use ioremap() 2010-05-13 10:05:28 -07:00
board-sffsdr.c Davinci: aintc/cpintc - use ioremap() 2010-05-13 10:05:28 -07:00
cdce949.c davinci: misc cleanups from sparse 2010-05-06 15:02:01 -07:00
clock.c Davinci: psc - use ioremap() 2010-05-13 10:05:27 -07:00
clock.h Davinci: watchdog reset separation across socs 2010-05-06 15:02:09 -07:00
common.c Davinci: aintc/cpintc - use ioremap() 2010-05-13 10:05:28 -07:00
cp_intc.c Davinci: aintc/cpintc - use ioremap() 2010-05-13 10:05:28 -07:00
cpufreq.c davinci: DA850/OMAP-L138: avoid using separate initcall for initializing regulator 2009-11-25 10:21:37 -08:00
cpuidle.c davinci: cpuidle: move mapping of DDR2 controller registers out of driver 2010-02-04 13:29:38 -08:00
da830.c Merge branch 'davinci-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-davinci 2010-05-19 12:08:50 -07:00
da850.c Davinci: iotable based ioremap() interception 2010-05-13 10:05:31 -07:00
devices-da8xx.c Davinci: da8xx: rtc - use ioremap 2010-05-13 10:05:23 -07:00
devices.c Davinci: timer - use ioremap() 2010-05-13 10:05:26 -07:00
dm355.c Davinci: pinmux - use ioremap() 2010-05-13 10:05:29 -07:00
dm365.c DM365: Added more PINMUX configurations for AEMIF 2010-05-13 11:10:31 -07:00
dm644x.c Davinci: pinmux - use ioremap() 2010-05-13 10:05:29 -07:00
dm646x.c Davinci: pinmux - use ioremap() 2010-05-13 10:05:29 -07:00
dma.c davinci: edma: fix coding style issue related to breaking lines 2010-05-13 10:05:21 -07:00
gpio.c Davinci: gpio - use ioremap() 2010-05-13 10:05:22 -07:00
io.c Davinci: iotable based ioremap() interception 2010-05-13 10:05:31 -07:00
irq.c Davinci: aintc/cpintc - use ioremap() 2010-05-13 10:05:28 -07:00
mux.c Davinci: pinmux - use ioremap() 2010-05-13 10:05:29 -07:00
mux.h Davinci: eliminate pinmux offset verbosity 2010-05-06 15:02:09 -07:00
pm.c davinci: add power management support 2010-02-04 13:29:55 -08:00
psc.c Davinci: psc - use ioremap() 2010-05-13 10:05:27 -07:00
serial.c Davinci: serial - conditional reset via pwremu 2010-05-06 15:02:10 -07:00
sleep.S davinci: add power management support 2010-02-04 13:29:55 -08:00
sram.c DaVinci: remove unneeded #include's 2009-11-25 10:21:31 -08:00
time.c Davinci: timer - use ioremap() 2010-05-13 10:05:26 -07:00
usb.c DA8xx: MUSB platform device registration 2009-11-25 10:21:33 -08:00