Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Liam Girdwood <lrg@ti.com>
To: Craig McQueen <craig.mcqueen@beamcommunications.com>
Cc: "Alsa-devel@alsa-project.org" <Alsa-devel@alsa-project.org>,
	Mark Brown <broonie@opensource.wolfsonmicro.com>
Subject: Re: Non-DMA ASoC driver
Date: Wed, 28 Nov 2012 10:08:33 +0000	[thread overview]
Message-ID: <50B5E2A1.1020101@ti.com> (raw)
In-Reply-To: <DB8F1B3EEF94C3439BFFE674EB05E3CC029C82CB@SIXPRD0211MB418.apcprd02.prod.outlook.com>

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

      reply	other threads:[~2012-11-28 10:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-28  4:46 Non-DMA ASoC driver Craig McQueen
2012-11-28 10:08 ` Liam Girdwood [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50B5E2A1.1020101@ti.com \
    --to=lrg@ti.com \
    --cc=Alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=craig.mcqueen@beamcommunications.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox