[alsa-devel] [RFC] I2S and LEFT_J
daniel at caiaq.de
Wed Jul 1 14:17:21 CEST 2009
On Fri, Jun 26, 2009 at 09:28:28PM -0300, Daniel Ribeiro wrote:
> Em Ter, 2009-06-23 às 00:14 +0200, Daniel Mack escreveu:
> > Without network mode, these are the register values that do what I need:
> > SSCR0 0x2100037F
> > SSCR1 0x00C01d08
> > SSPSP 0x31a08084
> > (SSTSA/SSRSA don't matter in this case)
> Thanks for the testing. If you don't mind, can you please replace the
> third patch, and try this one instead?
Jup, applied now.
> Use set_tdm_slot(5, 5, 4, 16), if this works for you we can just drop
> the pxa3xx special case and use SSCR0_FSRT and network mode for both
> pxa2xx and pxa3xx.
That gives an asynchronous LRCLK again.
> If not, use set_tdm_slot(1, 1, 1, 16), and tweak the
> (slots == 1 && slot_width == 16) special case as needed. This condition
> should give you a config without SSCR0_MOD, and you should be able to
> match the register values above.
Unfortunately it doesn't. The resulting register values are
and the LRCLK does not toggle any more at all, and hence DMA is not
happening. I couldn't do more investigation on this right now, but the
value dump might help. Let me know if I can do more tests.
More information about the Alsa-devel