On Fri, May 28, 2010 at 12:06:25PM +1000, Stuart Longland wrote:
I have a userspace application that mmaps the registers for SSI2 and AUDMUX, and sets this up, so no big deal ... the clock it receives is about 12.1MHz (12.093MHz according to the frequency counter here).
In production this should be done in-kernel.
When I try to play audio; the AUDMUX configuration is as follows:
Port: imx-ssi.0 Raw: cb205000 TxFS output from SSI4, TxClk output from SSI4 Port is symmetric Data received from SSI4
Port: SSI4 Raw: 00001000 TxFS input, TxClk input Port is symmetric Data received from imx-ssi.0
This appears reasonable at first glance.
I'll have a look at the Eukrea CPUIMX27 and baseboard SoC support in a moment, since it looks very similar to what we're doing (in that it's a TI I²S CODEC hooked to an i.MX27 on SSI4) ... this might reveal clues as to what I'm doing wrong.
Have you also checked the pin mux configuration for the i.MX?