[alsa-devel] Non-DMA ASoC driver

Liam Girdwood lrg at ti.com
Wed Nov 28 11:08:33 CET 2012


On 28/11/12 04:46, Craig McQueen wrote:
> I'm exploring hardware options for an audio interface for a Freescale i.MX28-based embedded Linux device. One option is to use a Synchronous Serial Port interface to connect in slave mode to an external CODEC. I have several doubts about the feasibility of this option, but for now, I have just one question:
>
> If we use this SSP, then we can't use DMA, but we would have to use interrupts for audio transfer. But I can't find any example code for a non-DMA based ASoC driver. Is it feasible to make a non-DMA based ASoC driver? How would it be implemented?
>

This has been done in sound/soc/fsl/imx-pcm-fiq.c and can be used as your 
platform driver.

Regards

Liam


More information about the Alsa-devel mailing list