<?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: Connection to ESAI in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Connection-to-ESAI/m-p/1014433#M150164</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qwerty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can try to reuse solution provided on&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/504807"&gt;SAI on i.MX8M Mini&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Dec 2019 23:08:41 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2019-12-23T23:08:41Z</dc:date>
    <item>
      <title>Connection to ESAI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Connection-to-ESAI/m-p/1014432#M150163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using a board with i.MX 8QuadMax. I try to connection to radiochip with I2S through ESAI1 interface. I describe it in dts-file:&lt;/P&gt;&lt;P&gt;esai1: esai@59810000 {&lt;BR /&gt; compatible = "fsl,imx8qm-esai";&lt;BR /&gt; reg = &amp;lt;0x0 0x59810000 0x0 0x10000&amp;gt;;&lt;BR /&gt; interrupts = &amp;lt;GIC_SPI 411 IRQ_TYPE_LEVEL_HIGH&amp;gt;;&lt;BR /&gt; clocks = &amp;lt;&amp;amp;clk IMX8QM_AUD_ESAI_1_IPG&amp;gt;,&lt;BR /&gt; &amp;lt;&amp;amp;clk IMX8QM_AUD_ESAI_1_EXTAL_IPG&amp;gt;,&lt;BR /&gt; &amp;lt;&amp;amp;clk IMX8QM_AUD_ESAI_1_IPG&amp;gt;,&lt;BR /&gt; &amp;lt;&amp;amp;clk IMX8QM_CLK_DUMMY&amp;gt;;&lt;BR /&gt; clock-names = "core", "extal", "fsys", "spba";&lt;BR /&gt; dmas = &amp;lt;&amp;amp;edma3 6 0 1&amp;gt;, &amp;lt;&amp;amp;edma3 7 0 0&amp;gt;;&lt;BR /&gt; dma-names = "rx", "tx";&lt;BR /&gt; status = "disabled";&lt;BR /&gt; power-domains = &amp;lt;&amp;amp;pd_esai1&amp;gt;;&lt;BR /&gt; fsl,mode = "i2s-slave";&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;esai1 {&lt;BR /&gt; pinctrl-names = "default";&lt;BR /&gt; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_esai1&amp;gt;;&lt;BR /&gt; assigned-clocks = &amp;lt;&amp;amp;clk IMX8QM_ACM_ESAI0_MCLK_SEL&amp;gt;,&lt;BR /&gt; &amp;lt;&amp;amp;clk IMX8QM_AUD_PLL0_DIV&amp;gt;,&lt;BR /&gt; &amp;lt;&amp;amp;clk IMX8QM_AUD_ACM_AUD_PLL_CLK0_DIV&amp;gt;,&lt;BR /&gt; &amp;lt;&amp;amp;clk IMX8QM_AUD_ACM_AUD_REC_CLK0_DIV&amp;gt;,&lt;BR /&gt; &amp;lt;&amp;amp;clk IMX8QM_AUD_ESAI_0_EXTAL_IPG&amp;gt;;&lt;BR /&gt; assigned-clock-parents = &amp;lt;&amp;amp;clk IMX8QM_AUD_ACM_AUD_PLL_CLK0_CLK&amp;gt;;&lt;BR /&gt; assigned-clock-rates = &amp;lt;0&amp;gt;, &amp;lt;786432000&amp;gt;, &amp;lt;49152000&amp;gt;, &amp;lt;12288000&amp;gt;, &amp;lt;49152000&amp;gt;;&lt;BR /&gt; fsl,txm-rxs;&lt;BR /&gt; status = "okay";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sound-x28 {&lt;BR /&gt; compatible = "simple-audio-card";&lt;BR /&gt; simple-audio-card,name = "x28-audio";&lt;BR /&gt; simple-audio-card,format="i2s";&lt;BR /&gt; simple-audio-card,mclk-fs = &amp;lt;64&amp;gt;;&lt;BR /&gt; simple-audio-card,frame-master = &amp;lt;&amp;amp;sound2_ssi&amp;gt;;&lt;BR /&gt; simple-audio-card,bitclock-master = &amp;lt;&amp;amp;sound2_ssi&amp;gt;;&lt;BR /&gt; simple-audio-card,widgets =&lt;BR /&gt; "Microphone", "Mic Jack",&lt;BR /&gt; "Line", "Line In",&lt;BR /&gt; "Line", "Line Out",&lt;BR /&gt; "Headphone", "Headphone Jack";&lt;BR /&gt; simple-audio-card,routing =&lt;BR /&gt; "DMIC AIF", "DMic";&lt;BR /&gt; mux-int-port = &amp;lt;1&amp;gt;;&lt;BR /&gt; mux-ext-port = &amp;lt;4&amp;gt;;&lt;BR /&gt; sound2_ssi: simple-audio-card,cpu {&lt;BR /&gt; sound-dai = &amp;lt;&amp;amp;esai1&amp;gt;;&lt;BR /&gt; system-clock-frequency = &amp;lt;3072000&amp;gt;;&lt;BR /&gt; dai-tdm-slot-num = &amp;lt;2&amp;gt;;&lt;BR /&gt; dai-tdm-slot-width = &amp;lt;32&amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;sound2codec: simple-audio-card,codec {&lt;BR /&gt; sound-dai = &amp;lt;&amp;amp;sound&amp;gt;;&lt;BR /&gt; };&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But kernel can't create audio-device and throw the fault:&lt;/P&gt;&lt;P&gt;OF: /sound-x28/simple-audio-card,cpu: could not get #sound-dai-cells for /esai@59810000&lt;BR /&gt;[ 4.125931] asoc-simple-card sound-x28: parse error -22&lt;BR /&gt;[ 4.131236] asoc-simple-card: probe of sound-x28 failed with error -22&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can i do wrong?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="position: fixed; left: 144px; top: 1545px; z-index: 999999999999; font-size: 12px; padding: 0 4px; display: inline-block; cursor: pointer; margin: 0px; color: white; border: 1px solid white; box-shadow: 1px 1px 1px rgba(0,0,0,.3); -moz-box-shadow: 1px 1px 1px rgba(0,0,0,.3); background-color: #167ac6;"&gt;T&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2019 11:58:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Connection-to-ESAI/m-p/1014432#M150163</guid>
      <dc:creator>riyan_khairulin</dc:creator>
      <dc:date>2019-12-23T11:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Connection to ESAI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Connection-to-ESAI/m-p/1014433#M150164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qwerty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can try to reuse solution provided on&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/504807"&gt;SAI on i.MX8M Mini&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2019 23:08:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Connection-to-ESAI/m-p/1014433#M150164</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-12-23T23:08:41Z</dc:date>
    </item>
  </channel>
</rss>

