From: Matt Flax <flatmax@flatmax.org>
To: alsa-devel@alsa-project.org
Subject: Re: SPI PCM capture device examples please
Date: Thu, 14 Nov 2013 12:01:17 +1100 [thread overview]
Message-ID: <528420DD.6070506@flatmax.org> (raw)
In-Reply-To: <52836B6B.3070703@flatmax.org>
I guess that IIO support for ASLA is not on the cards ?
Matt
On 13/11/13 23:07, Matt Flax wrote:
> Hi there,
>
> Is it possible to write an ALSA driver for a device which already has
> an SPI driver ?
>
> I have been trying to look for examples in the ALSA kernel source
> tree, however all the drivers I have looked at use SPI to control the
> codecs .... there must be an example where the codec uses SPI for PCM
> data ?
>
> If someone is aware of any codecs which use SPI for PCM data can you
> please link me to the example driver code ?
>
> The device I am interested in operates in slave SPI mode and only has
> ADCs, so it only has one input SPI line (and other necessary lines,
> such as clk). Its data sample rates are up to 1 M Hz.
>
> Here is a link to the SPI driver in question :
> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/iio/adc/ad7476.c?id=HEAD
>
>
> thanks
> Matt
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next prev parent reply other threads:[~2013-11-14 1:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-13 12:07 SPI PCM capture device examples please Matt Flax
2013-11-14 1:01 ` Matt Flax [this message]
2013-11-14 14:12 ` Clemens Ladisch
2013-11-14 14:36 ` Lars-Peter Clausen
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=528420DD.6070506@flatmax.org \
--to=flatmax@flatmax.org \
--cc=alsa-devel@alsa-project.org \
/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;
as well as URLs for NNTP newsgroup(s).