kernel-ark/sound/soc
Peter Ujfalusi cf80e15860 ASoC: omap-mcbsp: Support for sDMA packet mode
Utilize the sDMA controller's packet syncronization mode, when
the McBSP FIFO is in use (by extending the THRESHOLD mode).
When the sDMA is configured for packet mode, the sDMA frame size
does not need to match with the McBSP threshold configuration.
Uppon DMA request the sDMA will transfer packet size number of
words, and still trigger interrupt on frame boundary.

The patch extends the original THRESHOLD mode by doing the
following:

if (period_words <= max_threshold)
Current THRESHOLD mode configuration

Otherwise (period_words > max_threshold)
McBSP threshold = sDMA packet size
sDMA frame size = period size

With the extended THRESHOLD mode we can remove the constraint
for the maximum period size, since if the period size is
bigger than the maximum allowed threshold, than the driver
will switch to packet mode, and picks the best (biggest)
threshold value, which can divide evenly the period size.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
2010-08-02 10:38:16 +01:00
..
atmel ASoC: atmel: trivial code cleanup 2010-06-07 14:25:45 +01:00
au1x ASoC: au1x: fix section mismatch in psc-i2s.c 2010-07-13 12:39:14 +01:00
blackfin ASoC: Remove unnecessary casts of private_data 2010-07-13 12:33:59 +01:00
codecs ASoC: tlv320dac33: Add support for automatic FIFO configuration 2010-07-29 10:21:11 +01:00
davinci ASoC: davinci: let platform data define edma queue numbers 2010-07-20 09:57:20 +01:00
ep93xx ASoC: EP93xx: Add Snapper CL15 i2s audio support 2010-06-09 11:16:18 +01:00
fsl ASoC: Remove unused header from MPC5200 PSC driver 2010-06-12 18:06:14 +01:00
imx ASoC: eukrea-tlv320: add support for cpuimx35sd 2010-07-20 09:47:28 +01:00
jz4740 ASoC: JZ4740: Add qi_lb60 board driver 2010-06-23 00:10:57 +01:00
kirkwood ASoC: kirkwood-i2s: Handle mute/unmute playback/record 2010-07-13 12:37:09 +01:00
nuc900 ASoC: NUC900: patch for fix build error 2010-06-10 14:40:35 +01:00
omap ASoC: omap-mcbsp: Support for sDMA packet mode 2010-08-02 10:38:16 +01:00
pxa 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
s3c24xx ASoC:Support Samsung SoC(S5P) in I2Sv2 2010-07-20 09:53:36 +01:00
s6000 ASoC: s6000: use resource_size for {request/release}_mem_region and ioremap 2010-06-02 14:02:39 +01:00
sh ASoC: fsi: Add specified ID for soc-audio 2010-07-17 19:45:56 +01:00
txx9 Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx 2010-05-21 17:05:46 -07:00
Kconfig ASoC: Fix sorting of Makefile and Kconfig 2010-07-05 23:35:29 +09:00
Makefile ASoC: Fix sorting of Makefile and Kconfig 2010-07-05 23:35:29 +09:00
soc-cache.c ASoC: Add debug output tracing all cache register writes 2010-05-05 15:10:17 +01:00
soc-core.c ASoC: Handle read failures in codec_reg 2010-07-14 20:13:09 +01:00
soc-dapm.c Merge branch 'topic/asoc' into for-linus 2010-05-20 12:00:43 +02:00
soc-jack.c ASoC: Allow reporting of NULL jacks 2010-04-23 17:07:10 +01:00
soc-utils.c ASoC: Add BCLK calculation utility for TDM mode too 2009-11-25 19:55:46 +00:00