<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX Processors中的主题 Re: IMX93 I2S Audio Issue</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX93-I2S-Audio-Issue/m-p/1912837#M226420</link>
    <description>&lt;P&gt;You could check the TLV320AIC3106 is at operation mode. Check the reset signal is proper or not. Is the I2C communication work? You could check it in the&amp;nbsp;TLV320AIC3106 driver.&lt;/P&gt;</description>
    <pubDate>Sat, 20 Jul 2024 04:42:43 GMT</pubDate>
    <dc:creator>jimmychan</dc:creator>
    <dc:date>2024-07-20T04:42:43Z</dc:date>
    <item>
      <title>IMX93 I2S Audio Issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX93-I2S-Audio-Issue/m-p/1910293#M226266</link>
      <description>&lt;P&gt;I'm using the default kernel code for sai definition as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;pinctrl_sai3: sai3grp {
		fsl,pins = &amp;lt;
			MX93_PAD_GPIO_IO26__SAI3_TX_SYNC		0x31e
			MX93_PAD_GPIO_IO16__SAI3_TX_BCLK		0x31e
			MX93_PAD_GPIO_IO17__SAI3_MCLK			0x31e
			MX93_PAD_GPIO_IO19__SAI3_TX_DATA00		0x31e
			MX93_PAD_GPIO_IO20__SAI3_RX_DATA00		0x31e
		&amp;gt;;
	};

	pinctrl_sai3_sleep: sai3grpsleep {
		fsl,pins = &amp;lt;
			MX93_PAD_GPIO_IO26__GPIO2_IO26			0x51e
			MX93_PAD_GPIO_IO16__GPIO2_IO16			0x51e
			MX93_PAD_GPIO_IO17__GPIO2_IO17			0x51e
			MX93_PAD_GPIO_IO19__GPIO2_IO19			0x51e
			MX93_PAD_GPIO_IO20__GPIO2_IO20			0x51e
		&amp;gt;;
	};&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;&amp;amp;sai3 {
	#sound-dai-cells = &amp;lt;0&amp;gt;;
	pinctrl-names = "default", "sleep";
	pinctrl-0 = &amp;lt;&amp;amp;pinctrl_sai3&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;pinctrl_sai3_sleep&amp;gt;;
	assigned-clocks = &amp;lt;&amp;amp;clk IMX93_CLK_SAI3&amp;gt;;
	assigned-clock-parents = &amp;lt;&amp;amp;clk IMX93_CLK_AUDIO_PLL&amp;gt;;
	assigned-clock-rates = &amp;lt;12288000&amp;gt;;
	fsl,sai-mclk-direction-output;
	status = "okay";
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I'm using the TLV320AIC3106 as my Sound-Card, the device tree shown below:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;amp;lpi2c2 {
	#address-cells = &amp;lt;1&amp;gt;;
	#size-cells = &amp;lt;0&amp;gt;;
	clock-frequency = &amp;lt;400000&amp;gt;;
	pinctrl-names = "default", "sleep";
	pinctrl-0 = &amp;lt;&amp;amp;pinctrl_lpi2c2&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;pinctrl_lpi2c2&amp;gt;;
	status = "okay";
    tlv320aic3106: audio-codec@1b {
		compatible = "ti,tlv320aic3106";
		reg = &amp;lt;0x1b&amp;gt;;

		reset-gpios = &amp;lt;&amp;amp;gpio3 20 GPIO_ACTIVE_LOW&amp;gt;;
		status = "okay";
	};
};&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;/ {
    sound-tlv320 {
		compatible = "simple-audio-card";
		simple-audio-card,name = "tlv320-audio";
		simple-audio-card,widgets =
			"Line",    "Line Out",
			"Line",    "Line In",
			"Microphone",    "Microphone Jack";
		simple-audio-card,routing =
			"Line Out",	"LLOUT",
			"Line Out",	"RLOUT",
			"LINE1L",	"Line In",
			"LINE1R",	"Line In",
                        "MIC3L",	"Microphone Jack",
			"MIC3R",	"Microphone Jack",
                        "Microphone Jack",	"Mic Bias";
        
		simple-audio-card,format = "i2s";
		simple-audio-card,bitclock-master = &amp;lt;&amp;amp;sound_master&amp;gt;;
		simple-audio-card,frame-master = &amp;lt;&amp;amp;sound_master&amp;gt;;
		simple-audio-card,bitclock-inversion;

		sound_master: simple-audio-card,cpu {
			sound-dai = &amp;lt;&amp;amp;sai3&amp;gt;;
			dai-tdm-slot-num = &amp;lt;2&amp;gt;;
			dai-tdm-slot-width = &amp;lt;16&amp;gt;;
		};

		simple-audio-card,codec {
			sound-dai = &amp;lt;&amp;amp;tlv320aic3106&amp;gt;;
		};
	};
};&lt;/LI-CODE&gt;&lt;P&gt;After compiling the kernel code, I can find the i2c device registered, but it's not 'UU'.&lt;/P&gt;&lt;P&gt;Can anyone help me solve this probelm ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 06:39:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX93-I2S-Audio-Issue/m-p/1910293#M226266</guid>
      <dc:creator>AlanWen</dc:creator>
      <dc:date>2024-07-17T06:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: IMX93 I2S Audio Issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX93-I2S-Audio-Issue/m-p/1912837#M226420</link>
      <description>&lt;P&gt;You could check the TLV320AIC3106 is at operation mode. Check the reset signal is proper or not. Is the I2C communication work? You could check it in the&amp;nbsp;TLV320AIC3106 driver.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Jul 2024 04:42:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX93-I2S-Audio-Issue/m-p/1912837#M226420</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2024-07-20T04:42:43Z</dc:date>
    </item>
  </channel>
</rss>

