Hello,
I'm currently trying to upgrade from kernel 3.0.35 to 3.10.17 and have been successful except for placing the ssi in network mode (8 channel TDM). In kernel 3.0.35 I edited /sound/soc/imx/imx-sgtl5000.c to setup the ssi to SND_SOC_DAIFMT_DSP_A and SND_SOC_DAIFMT_IB_NF, also SSI_SCR_SYN and SSI_SCR_NET bits were being set (correct configuration for our hardware). Can I accomplish this through the device tree? If not what is the alternative? I threw some printk statements in /sound/soc/fsl/imx-ssi.c but nothing printed out so I'm assuming the code is not being run, not sure. Thanks for any help.
This is in my current dtsi file (which I'm assuming is setting I2S 2 channel mode, ssi is slave)
&ssi1 {
fsl,mode = "i2s-slave"; | |
status = "okay"; |
};
Solved! Go to Solution.
With device tree the ssi driver is sound/soc/fsl/fsl_ssi.c.
sound/soc/fsl/imx-ssi.c only works with non-dt version.
Hi there,
Have you had any luck getting TDM to work with the SSI port in Linux? We're in need of that -- it would be super useful if you could share your experience, or even better, patches :-)
Thanks
-Caleb
I am also interested in this topic.
With device tree the ssi driver is sound/soc/fsl/fsl_ssi.c.
sound/soc/fsl/imx-ssi.c only works with non-dt version.
Thank you very much Fabio for the information. With that knowledge I'll be able to continue on for a bit.