AnsweredAssumed Answered

How to add ssi in TDM (network) mode to device tree imx6

Question asked by j-g on Aug 29, 2014
Latest reply on Jul 1, 2015 by Jesse Forgues

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";

};

Outcomes