30 Nov
2009
30 Nov
'09
6:09 p.m.
2009/11/30 javier Martin javier.martin@vista-silicon.com
Dear Sascha, in "imx_ssi_set_dai_fmt()" callback you should add something like:
/* sync */ scr |= SSI_SCR_SYN;
This would enable SSI working in SYN mode which means that RX and TX sections will share same frame and bit clocks. Right now I can't imagine a situation where this is not desirable. Moreover, if I don't add SYN mode I cannot get it working in my i.mx27 based board with an wm8974.
Well, after a chat with Mark it seems that it is not so uncommon that RX and TX sections have different clocks. So you could add a flag in the platform data similar to the one that switches between FIQ and DMA so that people can choose if they want the feature or not.
Thank you.
--
Javier Martin
Vista Silicon S.L.
CDTUC - FASE C - Oficina S-345
Avda de los Castros s/n
39005- Santander. Cantabria. Spain
+34 942 25 32 60
www.vista-silicon.com