<?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>topic Re: Device Tree for new Audio codec under imx8qm Custom in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-for-new-Audio-codec-under-imx8qm-Custom/m-p/1364725#M182439</link>
    <description>&lt;P&gt;&amp;gt;use SAI1_TXC pin for clock instead of MCLK_OUT0 pin then&lt;/P&gt;
&lt;P&gt;&amp;gt;Is there any software configuration required in machine driver or dts node?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sorry nxp did not use such configuration in its bsps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
    <pubDate>Mon, 01 Nov 2021 23:44:28 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2021-11-01T23:44:28Z</dc:date>
    <item>
      <title>Device Tree for new Audio codec under imx8qm Custom</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-for-new-Audio-codec-under-imx8qm-Custom/m-p/1344155#M180483</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on IMX8QM Custom Platform. I unable to achieve new codec &lt;STRONG&gt;(&lt;FONT face="book antiqua,palatino" color="#800000"&gt;nau8810&lt;/FONT&gt;)&lt;/STRONG&gt; interface in my platform. Please find my below code and give your feedback.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using I2C0 interface with SAI1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;FONT face="book antiqua,palatino"&gt;&lt;STRONG&gt;/* Do not have fsl codec interface driver, So I used the simple codec driver for interface */&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="book antiqua,palatino" color="#800000"&gt;+ sound{&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="book antiqua,palatino" color="#800000"&gt;+ compatible = "simple-audio-card";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="book antiqua,palatino" color="#800000"&gt;+ lable = "nau8810-audio";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="book antiqua,palatino" color="#800000"&gt;+ simple-audio-card,frame-master = &amp;lt;&amp;amp;nacpu&amp;gt;;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="book antiqua,palatino" color="#800000"&gt;+ simple-audio-card,bitclock-master = &amp;lt;&amp;amp;nacpu&amp;gt;;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="book antiqua,palatino" color="#800000"&gt;+ simple-audio-card,widgets = "Speaker", "Speaker";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="book antiqua,palatino" color="#800000"&gt;+ simple-audio-card,routing = "Speaker", "Speaker";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="book antiqua,palatino" color="#800000"&gt;+ simple-audio-card,dai-link {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="book antiqua,palatino" color="#800000"&gt;+ format = "i2s";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="book antiqua,palatino" color="#800000"&gt;+ cpu {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="book antiqua,palatino" color="#800000"&gt;+ sound-dai = &amp;lt;&amp;amp;sai1 1&amp;gt;;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="book antiqua,palatino" color="#800000"&gt;+ };&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="book antiqua,palatino" color="#800000"&gt;+ nacpu: codec {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="book antiqua,palatino" color="#800000"&gt;+ sound-dai = &amp;lt;&amp;amp;nau8810&amp;gt;;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="book antiqua,palatino" color="#800000"&gt;+ };&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="book antiqua,palatino" color="#800000"&gt;+ };&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="book antiqua,palatino" color="#800000"&gt;+ };&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="book antiqua,palatino"&gt;&lt;STRONG&gt;/* Under I2C0 */&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="book antiqua,palatino" color="#800000"&gt;+ nau8810: nau8810@1a {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="book antiqua,palatino" color="#800000"&gt;+ #sound-dai-cells = &amp;lt;0&amp;gt;;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="book antiqua,palatino" color="#800000"&gt;+ compatible = "nuvoton,nau8810";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="book antiqua,palatino" color="#800000"&gt;+ reg = &amp;lt;0x1a&amp;gt;;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="book antiqua,palatino" color="#800000"&gt;+ };&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 14:40:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-for-new-Audio-codec-under-imx8qm-Custom/m-p/1344155#M180483</guid>
      <dc:creator>vinothkumars</dc:creator>
      <dc:date>2021-09-22T14:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Device Tree for new Audio codec under imx8qm Custom</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-for-new-Audio-codec-under-imx8qm-Custom/m-p/1344477#M180495</link>
      <description>&lt;P&gt;Hi Vinothkumar&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for porting new codec one can look at Chapter 16 Porting Audio Codecs&amp;nbsp; &lt;A style="box-sizing: border-box; background-color: transparent; color: #215bd6; text-decoration: none; cursor: pointer;" href="https://www.nxp.com/docs/en/user-guide/IMX_PORTING_GUIDE.pdf" target="_blank" rel="noopener"&gt;i.MX Porting Guide&lt;/A&gt;​&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;and Chapter 7 Audio&amp;nbsp;&amp;nbsp; &lt;A style="box-sizing: border-box; background-color: transparent; color: #215bd6; text-decoration: none; cursor: pointer;" href="https://www.nxp.com/docs/en/reference-manual/IMX_REFERENCE_MANUAL.pdf" target="_blank" rel="noopener"&gt;i.MX Linux Reference Manual​&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 00:21:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-for-new-Audio-codec-under-imx8qm-Custom/m-p/1344477#M180495</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-09-23T00:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Device Tree for new Audio codec under imx8qm Custom</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-for-new-Audio-codec-under-imx8qm-Custom/m-p/1346089#M180613</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did the configuration and codec also detecting now, But, I got error while capture and playback. and also there is no audio from speaker&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;root@root:~# &lt;STRONG&gt;cat /proc/asound/cards&lt;/STRONG&gt;&lt;BR /&gt;0 [D59050000sainau]: 59050000_sai-na - 59050000.sai-nau8810-hifi&lt;BR /&gt;59050000.sai-nau8810-hifi&lt;BR /&gt;&lt;BR /&gt;root@root:~# &lt;STRONG&gt;arecord -d 0 -f u8 viz.wav&lt;/STRONG&gt;&lt;BR /&gt;Recording WAVE 'viz.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono&lt;BR /&gt;[ 1066.472264] nau8810 3-001a: ASoC: error at snd_soc_component_update_bits on nau8810.3-001a: -110&lt;BR /&gt;[ 1067.488257] nau8810 3-001a: ASoC: error at snd_soc_component_update_bits on nau8810.3-001a: -110&lt;BR /&gt;[ 1068.504247] nau8810 3-001a: ASoC: error at snd_soc_component_update_bits on nau8810.3-001a: -110&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;root@root:~# &lt;STRONG&gt;aplay viz.wav&lt;/STRONG&gt;&lt;BR /&gt;Playing WAVE 'viz.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono&lt;BR /&gt;[ 1670.316265] nau8810 3-001a: ASoC: error at snd_soc_component_update_bits on nau8810.3-001a: -110&lt;BR /&gt;[ 1671.332247] nau8810 3-001a: ASoC: error at snd_soc_component_update_bits on nau8810.3-001a: -110&lt;BR /&gt;[ 1672.348247] nau8810 3-001a: ASoC: error at snd_soc_component_update_bits on nau8810.3-001a: -110&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Sep 2021 05:29:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-for-new-Audio-codec-under-imx8qm-Custom/m-p/1346089#M180613</guid>
      <dc:creator>vinothkumars</dc:creator>
      <dc:date>2021-09-25T05:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Device Tree for new Audio codec under imx8qm Custom</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-for-new-Audio-codec-under-imx8qm-Custom/m-p/1347569#M180742</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt;&amp;nbsp;for the reply,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Audio Codec DTS:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&lt;STRONG&gt;/* Connected with I2C0 */&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; nau8810: nau8810@1a {&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #sound-dai-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; compatible = "nuvoton,nau8810";&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; reg = &amp;lt;0x1a&amp;gt;;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; clocks = &amp;lt;&amp;amp;mclkout0_lpcg 0&amp;gt;;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; clock-names = "mclk";&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; assigned-clocks = &amp;lt;&amp;amp;clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_PLL&amp;gt;,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&amp;amp;clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_SLV_BUS&amp;gt;,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&amp;amp;clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_MST_BUS&amp;gt;,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&amp;amp;mclkout0_lpcg 0&amp;gt;;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; assigned-clock-rates = &amp;lt;786432000&amp;gt;, &amp;lt;49152000&amp;gt;, &amp;lt;12288000&amp;gt;, &amp;lt;12288000&amp;gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;/* Connected with SAI1 */&lt;BR /&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sound-nau8810{&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; compatible = "simple-audio-card";&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lable = "nau8810-audio";&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; simple-audio-card,frame-master = &amp;lt;&amp;amp;nacpu&amp;gt;;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; simple-audio-card,bitclock-master = &amp;lt;&amp;amp;nacpu&amp;gt;;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; simple-audio-card,widgets =&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "Speaker", "Ext Spk",&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "Microphone", "Mic Jack";&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; simple-audio-card,routing =&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "Ext Spk", "MONOOUT",&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "Ext Spk", "SPKOUTP",&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "Ext Spk", "SPKOUTN",&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "MICN", "Mic Jack",&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "MICP", "Mic Jack",&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "Mic Jack", "Mic Bias";&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; simple-audio-card,dai-link {&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; format = "i2s";&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cpu {&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sound-dai = &amp;lt;&amp;amp;sai1&amp;gt;;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; nacpu: codec {&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sound-dai = &amp;lt;&amp;amp;nau8810&amp;gt;;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;But, problem I here &lt;STRONG&gt;I don't MCLK line&lt;/STRONG&gt;. MCLK and BCLK are shorted.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinothkumars_1-1632829284504.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/157730i1D4D4C63C562B9BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinothkumars_1-1632829284504.png" alt="vinothkumars_1-1632829284504.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, There is &lt;STRONG&gt;no separate MCLK and BCLK&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2021 12:25:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-for-new-Audio-codec-under-imx8qm-Custom/m-p/1347569#M180742</guid>
      <dc:creator>vinothkumars</dc:creator>
      <dc:date>2021-09-28T12:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Device Tree for new Audio codec under imx8qm Custom</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-for-new-Audio-codec-under-imx8qm-Custom/m-p/1349751#M180971</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Audio codec is working, But, I got noise instead of proper sound, Will you please check the device tree and schematic.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Oct 2021 15:35:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-for-new-Audio-codec-under-imx8qm-Custom/m-p/1349751#M180971</guid>
      <dc:creator>vinothkumars</dc:creator>
      <dc:date>2021-10-02T15:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Device Tree for new Audio codec under imx8qm Custom</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-for-new-Audio-codec-under-imx8qm-Custom/m-p/1363669#M182303</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I am working on the same task. We have shared the part of the schematic to provide the idea how the SOC SAI1 and&amp;nbsp; codec pins are interfaced.&lt;/P&gt;&lt;P&gt;Just to provide more info on machine driver and also some more details&lt;/P&gt;&lt;P&gt;file :&amp;nbsp;sound/soc/fsl/fsl-asoc-card.c&lt;/P&gt;&lt;P&gt;With this interfacing, we can see clock as follows on SAI1_TXC_CODEC and so on MCLK pin of the codec&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Configure codec as slave and format is I2S (SND_SOC_DAIFMT_I2S)&lt;UL&gt;&lt;LI&gt;Format S16_LE and two channel&lt;/LI&gt;&lt;LI&gt;Clock for Sampling rate 8k = 256000HZ&lt;/LI&gt;&lt;LI&gt;Clock for Sampling rate 48k = 1536000HZ&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Audio output = Only noise and no audio&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Configure codec as slave and format is PCM (SND_SOC_DAIFMT_DSP_A)&lt;UL&gt;&lt;LI&gt;Format S16_LE and two channel&lt;/LI&gt;&lt;LI&gt;Clock for Sampling rate 8k = 512000HZ&lt;/LI&gt;&lt;LI&gt;Clock for Sampling rate 48k = 3072000HZ&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Audio output = Only noise and no audio&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Can you please let us know that&amp;nbsp;&lt;STRONG&gt;MCLK_OUT0&lt;/STRONG&gt; of the &lt;STRONG&gt;SOC&lt;/STRONG&gt; need to connect with the &lt;STRONG&gt;Codec MCLK&lt;/STRONG&gt; pin instead of the&amp;nbsp;SAI1_TXC_CODEC pin?&lt;/P&gt;&lt;P&gt;Any pointers are really appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 05:39:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-for-new-Audio-codec-under-imx8qm-Custom/m-p/1363669#M182303</guid>
      <dc:creator>DhavalS</dc:creator>
      <dc:date>2021-10-29T05:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Device Tree for new Audio codec under imx8qm Custom</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-for-new-Audio-codec-under-imx8qm-Custom/m-p/1364116#M182353</link>
      <description>&lt;P&gt;&amp;gt;Can you please let us know that&amp;nbsp;&lt;STRONG&gt;MCLK_OUT0&lt;/STRONG&gt; of the &lt;STRONG&gt;SOC&lt;/STRONG&gt; need to connect with&lt;/P&gt;
&lt;P&gt;&amp;gt;the &lt;STRONG&gt;Codec MCLK&lt;/STRONG&gt; pin instead of the&amp;nbsp;SAI1_TXC_CODEC pin?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for MCLK_OUT0 connection one can look at p.12, p.31 U43 NC7WV16, p.24&lt;/P&gt;
&lt;P&gt;U29 WM8960 SPF-29420&amp;nbsp; &lt;A id="docsAndSoftware_designResultTitle1_1" class="dtmcustomrulelink" href="https://www.nxp.com/webapp/Download?colCode=SCH-29420_C7" data-dtmaction="Documents and Software Results - Software Link click" data-dtmsubaction="MCIMX8QM-CPU MEK – Schematics" target="_blank"&gt;MCIMX8QM-CPU MEK – Schematics&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Sat, 30 Oct 2021 04:57:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-for-new-Audio-codec-under-imx8qm-Custom/m-p/1364116#M182353</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-10-30T04:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Device Tree for new Audio codec under imx8qm Custom</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-for-new-Audio-codec-under-imx8qm-Custom/m-p/1364120#M182355</link>
      <description>&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for your quick reponse.&lt;/P&gt;&lt;P&gt;I have seen this MCLK_OUT0 is connected with Codec MCLK pin in MEK board.&lt;/P&gt;&lt;P&gt;But, same thing is not connected in our case so to get proper clock and make codec work is MCLK_OUT0 required to connect with MCLK pin of codec or that is not mandetory ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using sai1 for connection with codec and codec is nau8810.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Oct 2021 05:44:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-for-new-Audio-codec-under-imx8qm-Custom/m-p/1364120#M182355</guid>
      <dc:creator>DhavalS</dc:creator>
      <dc:date>2021-10-30T05:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Device Tree for new Audio codec under imx8qm Custom</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-for-new-Audio-codec-under-imx8qm-Custom/m-p/1364132#M182361</link>
      <description>&lt;P&gt;&amp;gt; our case so to get proper clock and make codec work is MCLK_OUT0&lt;/P&gt;
&lt;P&gt;&amp;gt;required to connect with MCLK pin of codec or that is not mandetory ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;suggest to ask tech support vendor of this codec, if nau8810 codec MCLK is mandatory:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nuvoton.com/support/technical-support/nuforum/" target="_blank"&gt;https://www.nuvoton.com/support/technical-support/nuforum/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Oct 2021 10:33:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-for-new-Audio-codec-under-imx8qm-Custom/m-p/1364132#M182361</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-10-30T10:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Device Tree for new Audio codec under imx8qm Custom</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-for-new-Audio-codec-under-imx8qm-Custom/m-p/1364553#M182420</link>
      <description>&lt;P&gt;Thanks Igor for the reply.&lt;/P&gt;&lt;P&gt;Just give me one information that If we use SAI1_TXC pin for clock instead of MCLK_OUT0 pin then&lt;/P&gt;&lt;P&gt;Is there any software configuration required in machine driver or dts node?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Dhaval&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 12:04:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-for-new-Audio-codec-under-imx8qm-Custom/m-p/1364553#M182420</guid>
      <dc:creator>DhavalS</dc:creator>
      <dc:date>2021-11-01T12:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Device Tree for new Audio codec under imx8qm Custom</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-for-new-Audio-codec-under-imx8qm-Custom/m-p/1364725#M182439</link>
      <description>&lt;P&gt;&amp;gt;use SAI1_TXC pin for clock instead of MCLK_OUT0 pin then&lt;/P&gt;
&lt;P&gt;&amp;gt;Is there any software configuration required in machine driver or dts node?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sorry nxp did not use such configuration in its bsps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 23:44:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-for-new-Audio-codec-under-imx8qm-Custom/m-p/1364725#M182439</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-11-01T23:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: Device Tree for new Audio codec under imx8qm Custom</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-for-new-Audio-codec-under-imx8qm-Custom/m-p/1585960#M200439</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/65315"&gt;@vinothkumars&lt;/a&gt;&amp;nbsp;did you find a soulution? We have the same problem and get the error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;nau8810 0-001a: ASoC: error at snd_soc_component_update_bits on nau8810.0-001a: -6&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Blume&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 10:19:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-for-new-Audio-codec-under-imx8qm-Custom/m-p/1585960#M200439</guid>
      <dc:creator>KBL</dc:creator>
      <dc:date>2023-01-20T10:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Device Tree for new Audio codec under imx8qm Custom</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-for-new-Audio-codec-under-imx8qm-Custom/m-p/2199103#M241939</link>
      <description>&lt;P&gt;One good link to check detailed Audio bring up for NXP in Android and Linux -&amp;nbsp;&lt;A href="https://siliconsignals.io/audio-codec-bring-up-simplified-your-guide-to-android-linux-bsp-development/" target="_blank"&gt;https://siliconsignals.io/audio-codec-bring-up-simplified-your-guide-to-android-linux-bsp-development/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2025 14:06:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-for-new-Audio-codec-under-imx8qm-Custom/m-p/2199103#M241939</guid>
      <dc:creator>RutvijTrivedi207</dc:creator>
      <dc:date>2025-11-05T14:06:23Z</dc:date>
    </item>
  </channel>
</rss>

