<?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のトピックimx8mp: custom board clock issues</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx8mp-custom-board-clock-issues/m-p/1377597#M183592</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a custom board based on iMX8MP evk, which is using lt-5.10.y.&lt;/P&gt;&lt;P&gt;For&amp;nbsp;sound-wm8960 configuration using sai3, but the sai1_mclk,&amp;nbsp;sai2_mclk,&amp;nbsp;sai3_mclk,&amp;nbsp;sai5_mclk, sai6_mclk, sai7_mclk 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 same dts was used in lt-5.4-y&lt;BR /&gt;I have even built the imx8mp-evk image and seen the same errors there too.&lt;/P&gt;&lt;P&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;clk node in dts:&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;</description>
    <pubDate>Fri, 26 Nov 2021 11:05:03 GMT</pubDate>
    <dc:creator>sureshkrishna</dc:creator>
    <dc:date>2021-11-26T11:05:03Z</dc:date>
    <item>
      <title>imx8mp: custom board clock issues</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mp-custom-board-clock-issues/m-p/1377597#M183592</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a custom board based on iMX8MP evk, which is using lt-5.10.y.&lt;/P&gt;&lt;P&gt;For&amp;nbsp;sound-wm8960 configuration using sai3, but the sai1_mclk,&amp;nbsp;sai2_mclk,&amp;nbsp;sai3_mclk,&amp;nbsp;sai5_mclk, sai6_mclk, sai7_mclk 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 same dts was used in lt-5.4-y&lt;BR /&gt;I have even built the imx8mp-evk image and seen the same errors there too.&lt;/P&gt;&lt;P&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;clk node in dts:&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;</description>
      <pubDate>Fri, 26 Nov 2021 11:05:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mp-custom-board-clock-issues/m-p/1377597#M183592</guid>
      <dc:creator>sureshkrishna</dc:creator>
      <dc:date>2021-11-26T11:05:03Z</dc:date>
    </item>
  </channel>
</rss>

