alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* SPI PCM capture device examples please
@ 2013-11-13 12:07 Matt Flax
  2013-11-14  1:01 ` Matt Flax
  0 siblings, 1 reply; 4+ messages in thread
From: Matt Flax @ 2013-11-13 12:07 UTC (permalink / raw)
  To: alsa-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-11-14 14:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-13 12:07 SPI PCM capture device examples please Matt Flax
2013-11-14  1:01 ` Matt Flax
2013-11-14 14:12   ` Clemens Ladisch
2013-11-14 14:36     ` Lars-Peter Clausen

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).