linux/arch/arm/mach-davinci/include/mach
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
..
asp.h ASoC: davinci: let platform data define edma queue numbers 2010-07-20 09:57:20 +01:00
cdce949.h davinci: add support for CDCE949 clock synthesizer 2010-02-04 13:29:58 -08:00
clkdev.h davinci: major rework of clock, PLL, PSC infrastructure 2009-04-23 09:31:00 -07:00
clock.h davinci: major rework of clock, PLL, PSC infrastructure 2009-04-23 09:31:00 -07:00
common.h Davinci: iotable based ioremap() interception 2010-05-13 10:05:31 -07:00
cp_intc.h Davinci: aintc/cpintc - use ioremap() 2010-05-13 10:05:28 -07:00
cpufreq.h davinci: DA850/OMAP-L138: avoid using separate initcall for initializing regulator 2009-11-25 10:21:37 -08:00
cpuidle.h davinci: cpuidle: move mapping of DDR2 controller registers out of driver 2010-02-04 13:29:38 -08:00
cputype.h Davinci: tnetv107x cpu types 2010-05-06 15:02:05 -07:00
da8xx.h Davinci: watchdog reset separation across socs 2010-05-06 15:02:09 -07:00
debug-macro.S ARM: 5910/1: ARM: Add tmp register for addruart and loadsp 2010-02-12 17:27:52 +00:00
dm355.h DaVinci: move AEMIF #define's to the proper headers 2010-05-06 15:02:06 -07:00
dm365.h DaVinci: move AEMIF #define's to the proper headers 2010-05-06 15:02:06 -07:00
dm644x.h DaVinci: move AEMIF #define's to the proper headers 2010-05-06 15:02:06 -07:00
dm646x.h DaVinci: move IDE platform device to its proper place 2010-05-06 15:02:07 -07:00
edma.h davinci: build list of unused EDMA events dynamically 2010-02-04 13:30:02 -08:00
entry-macro.S davinci: Integrate cp_intc support into low-level irq code 2009-05-28 15:17:47 -07:00
gpio.h Davinci: gpio - fine grained locking 2010-05-06 15:02:09 -07:00
hardware.h ARM: 5928/1: Change type of VMALLOC_END to unsigned long. 2010-02-15 21:40:33 +00:00
i2c.h Merge branch 'for-next' into for-linus 2010-03-08 16:55:37 +01:00
io.h davinci: Move IO device mapping macros from io.h to hardware.h 2009-08-26 10:57:01 +03:00
irqs.h Davinci: tnetv107x IRQ definitions 2010-05-06 15:02:05 -07:00
keyscan.h Input: davinci_keyscan - add device_enable method to platform data 2010-01-06 00:17:11 -08:00
memory.h davinci: add power management support 2010-02-04 13:29:55 -08:00
mmc.h davinci: mmc: pass number of SG segments as platform data 2010-05-27 09:12:39 -07:00
mux.h DM365: Added more PINMUX configurations for AEMIF 2010-05-13 11:10:31 -07:00
nand.h mtd: Add bad block table overrides to Davinci NAND driver 2009-11-30 11:31:09 +00:00
pm.h davinci: add power management support 2010-02-04 13:29:55 -08:00
psc.h Davinci: tnetv107x LPSC modules 2010-05-06 15:02:05 -07:00
serial.h Davinci: serial - remove unnecessary define 2010-05-06 15:02:10 -07:00
spi.h DaVinci: SPI: Adding header file for SPI support. 2010-03-01 10:20:22 -08:00
sram.h davinci: add SRAM allocator 2009-05-28 15:18:13 -07:00
system.h Davinci: watchdog reset separation across socs 2010-05-06 15:02:09 -07:00
time.h davinci: Add watchdog base address flexibility 2009-05-26 08:20:31 -07:00
timex.h davinci: explain CLOCK_TICK_RATE of 27MHz in include/mach/timex.h 2010-02-04 13:29:41 -08:00
uncompress.h davinci: Add support for DA850/OMAP-L138 EVM board 2009-08-26 11:55:45 +03:00
usb.h DaVinci: rename setup_usb() to davinci_setup_usb() 2009-11-25 10:21:33 -08:00
vmalloc.h davinci: Move IO device mapping macros from io.h to hardware.h 2009-08-26 10:57:01 +03:00