All of lore.kernel.org
 help / color / mirror / Atom feed
* snd-soc-pxa-ssp I2C/FIFO issues
@ 2009-03-09 14:47 pHilipp Zabel
  2009-03-09 15:03 ` Liam Girdwood
  2009-03-09 15:36 ` Daniel Mack
  0 siblings, 2 replies; 12+ messages in thread
From: pHilipp Zabel @ 2009-03-09 14:47 UTC (permalink / raw)
  To: Daniel Mack, Mark Brown, alsa-devel

Ok,

I'm not sure how to handle this correctly.

Magician needs stereo S16_LE input data from alsa, DAIFMT_DSP_A on the
wire with a frame size of 16 bit (one frame for each channel) and thus
2-byte DMA transfers to the FIFO (currently called 'mono' DMA params).
Zylonite's current code uses 32 bit frame size and 4-byte DMA
transfers to emulate I2S (S16_LE,stereo). Network mode seems to work,
so it could be changed to use two 16 bit slots instead with 2-byte DMA
transfers (which would make Magician happy). But...
Daniel's board needs very strange settings because network mode
doesn't work, so I guess he can't use 2-byte DMA transfers. Is that
correct?

If we can't find a way to have all machines use the mono DMA params,
there has to be some kind of interface to set the width of the data in
the FIFO independently from the Alsa format. How should that interface
look like?

regards
Philipp

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

end of thread, other threads:[~2009-03-11 18:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-09 14:47 snd-soc-pxa-ssp I2C/FIFO issues pHilipp Zabel
2009-03-09 15:03 ` Liam Girdwood
2009-03-09 15:14   ` Mark Brown
2009-03-09 16:01   ` pHilipp Zabel
2009-03-09 16:16   ` Daniel Mack
2009-03-09 15:36 ` Daniel Mack
2009-03-09 16:00   ` pHilipp Zabel
2009-03-09 17:44   ` Mark Brown
2009-03-10 15:47     ` Daniel Mack
2009-03-11 18:10       ` pHilipp Zabel
2009-03-11 18:21         ` Daniel Mack
2009-03-11 18:42         ` Daniel Mack

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.