Enable i2s slave mode in iMX6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Enable i2s slave mode in iMX6

1,908 Views
kahhooitan1
Contributor I

Hi, for some reason, I need to enable the iMX6 to become i2s slave for , I tried to enable the i2s through a dummy driver by using this patch: [alsa-devel] Simple-card without codec for testing purpose   , but I didn't detect any sound card.

I look through the I2S Output on Imx6 , but he is using i2s master mode, how can I change to i2s slave mode?

The [SGTL5000] SGTL5000 in I2S slave mode used SGTL5000, but for my board, it only have TLV320AIC3X, is it work as the same?

Do I need to create a glue code in sound/soc/fsl to activate AUD interface?

Labels (2)
0 Kudos
1 Reply

889 Views
igorpadykov
NXP Employee
NXP Employee

Hi Kah

for tlv codec one can look at

imx6 - tlv320aic32x4 codec no data on I2S port 

Codec driver handles both SSI master and SSI slave cases, depending on the

property 'codec-master' which is default in nxp bsps :

--- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sa - Pastebin.com 

linux-imx.git - i.MX Linux Kernel 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos