alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* imx-ssi.c & SND_SOC_DAIFMT_I2S
@ 2010-05-26  9:34 Eric Bénard
  2010-05-26 10:37 ` Sascha Hauer
  2010-05-27  0:56 ` Mark Brown
  0 siblings, 2 replies; 8+ messages in thread
From: Eric Bénard @ 2010-05-26  9:34 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: alsa-devel

Hi Sascha,

while trying to get a TI TLV320AIC23B codec configured as I2S master to 
work with an i.MX27 using the latest git kernel, I noticed there may be 
a problem in the slave I2S setting in imx-ssi.c

Please find two captures of the I2S bus signals :
- http://eukrea.com/tmp/initial_i2s.png : this is not an I2S signal, 
both left & right are sent while Frame Sync is high (so I only get mono 
output)
- http://eukrea.com/tmp/i2s_slave.png : when I set I2S_MODE to 0x2 in 
SCR register (scr |= SSI_SCR_NET | 0x40; at line 101 of imx-ssi.c), thus 
setting the SSI in "I2S slave mode", I get a real I2S signal as shown on 
this capture.

I understand the actual I2S configuration may work with the Freescale's 
PMIC but this chipset may not be fully I2S compliant and I think that 
the actual setting prevent real I2S codecs from being used with the i.MX.

Am I wrong here ?
Shouldn't we use the I2S slave mode of the SSI instead of what is done 
actually ?

Thanks and best regards,
Eric

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

end of thread, other threads:[~2010-06-23 10:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-26  9:34 imx-ssi.c & SND_SOC_DAIFMT_I2S Eric Bénard
2010-05-26 10:37 ` Sascha Hauer
2010-05-26 12:41   ` Eric Bénard
2010-05-27  0:56 ` Mark Brown
2010-05-27  1:15   ` Eric Bénard
2010-05-27  1:54     ` Mark Brown
2010-06-23 10:15     ` imx-ssi.c & SND_SOC_DAIFMT_I2S anilkumar
2010-06-23 10:28       ` Eric Bénard

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