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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
3,157件の閲覧回数
j-g
Contributor III

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

};

ラベル(6)
0 件の賞賛
返信
1 解決策
2,349件の閲覧回数
fabio_estevam
NXP Employee
NXP Employee

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.

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
2,349件の閲覧回数
calebcrome
Contributor I

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

0 件の賞賛
返信
2,349件の閲覧回数
jesseforgues
Contributor I

I am also interested in this topic.

0 件の賞賛
返信
2,350件の閲覧回数
fabio_estevam
NXP Employee
NXP Employee

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.

0 件の賞賛
返信
2,349件の閲覧回数
j-g
Contributor III

Thank you very much Fabio for the information.  With that knowledge I'll be able to continue on for a bit.

0 件の賞賛
返信