<?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: imx8mp clock registration errors in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx8mp-clock-registration-errors/m-p/1452848#M189980</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I fixed the error by defining the corresponding clocks in my dts 'clk' node&lt;/P&gt;&lt;P&gt;eg: if sai1_mclk is missing then,&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;PRE&gt;clk {&lt;BR /&gt;clocks = &amp;lt;&amp;amp;sai1_mclk&amp;gt;&lt;BR /&gt;clock-names = "sai1_mclk"&lt;BR /&gt;assigned-clocks = &amp;lt;&amp;amp;clk IMX8MP_CLK_SAI1&amp;gt;&lt;BR /&gt;}&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;After manually fixing them I later on stumbled upon an upstream patch&lt;BR /&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/commit/?h=lf-5.10.y&amp;amp;id=094e478c1e2d9c2939ccfbcd9e0d26c6687f1ca9" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/commit/?h=lf-5.10.y&amp;amp;id=094e478c1e2d9c2939ccfbcd9e0d26c6687f1ca9&lt;/A&gt;&lt;/P&gt;&lt;P&gt;With this patch you don't need to define all the clocks in one go rather define it when its needed.&lt;/P&gt;</description>
    <pubDate>Wed, 04 May 2022 16:09:43 GMT</pubDate>
    <dc:creator>sureshkrishna</dc:creator>
    <dc:date>2022-05-04T16:09:43Z</dc:date>
    <item>
      <title>imx8mp clock registration errors</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mp-clock-registration-errors/m-p/1377616#M183594</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;For&amp;nbsp;sound-wm8960 configuration using sai3, but the sai mclk's are not initialised during boot. Which is evident from the boot log&lt;/P&gt;&lt;PRE&gt;[    0.201181] i.MX clk 324: register failed with -2
[    0.201193] i.MX clk 325: register failed with -2
[    0.201198] i.MX clk 326: register failed with -2
[    0.201203] i.MX clk 328: register failed with -2
[    0.201207] i.MX clk 329: register failed with -2
[    0.201216] i.MX clk 330: register failed with -2&lt;/PRE&gt;&lt;P&gt;What is the possible reason this issue occurs, the dts was ported from lt-5.4-y which was working?&lt;BR /&gt;Also there are other error msgs that follow after the above log as below:&lt;/P&gt;&lt;PRE&gt;[    1.301886] imx-lcdifv3 32e80000.lcd-controller: No pix clock get: -517
[    1.309244] imx-lcdifv3 32e90000.lcd-controller: No pix clock get: -517
[    1.316171] imx-lcdifv3 32fc6000.lcd-controller: No irq get, ret=-517
[    1.327189] imx-hdmi-pavi 32fc4000.hdmi-pai-pvi: No pvi clock get&lt;BR /&gt;[    2.031615] fsl-sai 30c20000.sai: failed to get bus clock: -517
[    2.039608] fsl-sai 30c30000.sai: failed to get bus clock: -517
[    2.048815] fsl-micfil-dai 30ca0000.micfil: failed to get core clock: -517
[    2.056547] fsl-easrc 30c90000.easrc: failed to get mem clock
[    2.062846] fsl,imx8mp-audio-xcvr 30cc0000.xcvr: failed to get ipg clock
[    2.070287] fsl-aud2htx 30cb0000.aud2htx: failed to get mem clock
[    2.077648] imx-xcvr sound-xcvr: snd_soc_register_card failed: -517
[    2.085047] imx-micfil sound-micfil: snd_soc_register_card failed (-517)
[    2.092442] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)&lt;/PRE&gt;&lt;P&gt;I have attached the full boot log. Any inputs related to fixing the clock issues will be helpful.&lt;/P&gt;&lt;P&gt;sai3 dts node:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;&amp;amp;sai3 {
pinctrl-names = "default";
pinctrl-0 = &amp;lt;&amp;amp;pinctrl_sai3&amp;gt;;
clocks = &amp;lt;&amp;amp;audio_blk_ctrl IMX8MP_CLK_AUDIO_BLK_CTRL_SAI3_IPG&amp;gt;, &amp;lt;&amp;amp;clk IMX8MP_CLK_DUMMY&amp;gt;,
&amp;lt;&amp;amp;audio_blk_ctrl IMX8MP_CLK_AUDIO_BLK_CTRL_SAI3_MCLK1&amp;gt;, &amp;lt;&amp;amp;clk IMX8MP_CLK_DUMMY&amp;gt;,
&amp;lt;&amp;amp;clk IMX8MP_CLK_DUMMY&amp;gt;;
clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3";
assigned-clocks = &amp;lt;&amp;amp;clk IMX8MP_CLK_SAI3&amp;gt;;
assigned-clock-parents = &amp;lt;&amp;amp;clk IMX8MP_AUDIO_PLL1_OUT&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;clk node in dts:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;&amp;amp;clk {
        init-on-array = &amp;lt;IMX8MP_CLK_HSIO_ROOT&amp;gt;;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is kindly appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2021 11:41:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mp-clock-registration-errors/m-p/1377616#M183594</guid>
      <dc:creator>sureshkrishna</dc:creator>
      <dc:date>2021-11-26T11:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mp clock registration errors</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mp-clock-registration-errors/m-p/1427073#M188124</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am also facing the same type of errors in dmesg, did you found anything related to it? if yes please share. Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 19:40:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mp-clock-registration-errors/m-p/1427073#M188124</guid>
      <dc:creator>Hamza_Jamil</dc:creator>
      <dc:date>2022-03-11T19:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mp clock registration errors</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mp-clock-registration-errors/m-p/1452113#M189936</link>
      <description>&lt;P&gt;I have the same issue. Any suggestion would be appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 06:05:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mp-clock-registration-errors/m-p/1452113#M189936</guid>
      <dc:creator>andynic</dc:creator>
      <dc:date>2022-05-03T06:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mp clock registration errors</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mp-clock-registration-errors/m-p/1452848#M189980</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I fixed the error by defining the corresponding clocks in my dts 'clk' node&lt;/P&gt;&lt;P&gt;eg: if sai1_mclk is missing then,&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;PRE&gt;clk {&lt;BR /&gt;clocks = &amp;lt;&amp;amp;sai1_mclk&amp;gt;&lt;BR /&gt;clock-names = "sai1_mclk"&lt;BR /&gt;assigned-clocks = &amp;lt;&amp;amp;clk IMX8MP_CLK_SAI1&amp;gt;&lt;BR /&gt;}&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;After manually fixing them I later on stumbled upon an upstream patch&lt;BR /&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/commit/?h=lf-5.10.y&amp;amp;id=094e478c1e2d9c2939ccfbcd9e0d26c6687f1ca9" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/commit/?h=lf-5.10.y&amp;amp;id=094e478c1e2d9c2939ccfbcd9e0d26c6687f1ca9&lt;/A&gt;&lt;/P&gt;&lt;P&gt;With this patch you don't need to define all the clocks in one go rather define it when its needed.&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 16:09:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mp-clock-registration-errors/m-p/1452848#M189980</guid>
      <dc:creator>sureshkrishna</dc:creator>
      <dc:date>2022-05-04T16:09:43Z</dc:date>
    </item>
  </channel>
</rss>

