<?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: getting error while booting cpu cpu0: failed to get the regulator, imx7d-cpufreq: probe of imx7d-cpufreq failed with error -2? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/getting-error-while-booting-cpu-cpu0-failed-to-get-the-regulator/m-p/568804#M87467</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igorpadycov,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: monospace;"&gt;&amp;amp;cpu0 { arm-supply = &amp;lt;&amp;amp;sw1a_reg&amp;gt;&lt;/SPAN&gt; is already available in device tree by default. but still i am getting this error. i have gone through respective section of the document you have attached, but it didn't help me to resolve this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it anything related to PMIC?&lt;/P&gt;&lt;P&gt;"sw1a_reg" is available in PMIC phandle in device tree. Currently i am facing some issue with PMIC? Can it be the reason?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Aug 2016 10:30:16 GMT</pubDate>
    <dc:creator>jagdishgediya</dc:creator>
    <dc:date>2016-08-08T10:30:16Z</dc:date>
    <item>
      <title>getting error while booting cpu cpu0: failed to get the regulator, imx7d-cpufreq: probe of imx7d-cpufreq failed with error -2?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/getting-error-while-booting-cpu-cpu0-failed-to-get-the-regulator/m-p/568802#M87465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting below error while booting imx7 based custom board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cpu cpu0: failed to get the regulator&lt;/P&gt;&lt;P&gt;imx7d-cpufreq: probe of imx7d-cpufreq failed with error -2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can be the reason for it?&lt;/P&gt;&lt;P&gt;Am i missing anything in device tree? @&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 06:15:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/getting-error-while-booting-cpu-cpu0-failed-to-get-the-regulator/m-p/568802#M87465</guid>
      <dc:creator>jagdishgediya</dc:creator>
      <dc:date>2016-08-04T06:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: getting error while booting cpu cpu0: failed to get the regulator, imx7d-cpufreq: probe of imx7d-cpufreq failed with error -2?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/getting-error-while-booting-cpu-cpu0-failed-to-get-the-regulator/m-p/568803#M87466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jagdish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can check presence &lt;CODE&gt;&amp;amp;cpu0 { arm-supply = &amp;lt;&amp;amp;sw1a_reg&amp;gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;as in imx7d-sdb.dts example&lt;/P&gt;&lt;P&gt;&lt;A href="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/arch/arm/boot/dts/imx7d-sdb.dts?h=imx_4.1.15_1.0.0_ga" title="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/arch/arm/boot/dts/imx7d-sdb.dts?h=imx_4.1.15_1.0.0_ga"&gt;linux-2.6-imx.git - Freescale i.MX Linux Tree&lt;/A&gt;&lt;/P&gt;&lt;P&gt;One can try to debug it more using attached Linux Manual&lt;/P&gt;&lt;P&gt;Chapter 23 CPU Frequency Scaling (CPUFREQ) Driver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 11:06:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/getting-error-while-booting-cpu-cpu0-failed-to-get-the-regulator/m-p/568803#M87466</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-08-04T11:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: getting error while booting cpu cpu0: failed to get the regulator, imx7d-cpufreq: probe of imx7d-cpufreq failed with error -2?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/getting-error-while-booting-cpu-cpu0-failed-to-get-the-regulator/m-p/568804#M87467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igorpadycov,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: monospace;"&gt;&amp;amp;cpu0 { arm-supply = &amp;lt;&amp;amp;sw1a_reg&amp;gt;&lt;/SPAN&gt; is already available in device tree by default. but still i am getting this error. i have gone through respective section of the document you have attached, but it didn't help me to resolve this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it anything related to PMIC?&lt;/P&gt;&lt;P&gt;"sw1a_reg" is available in PMIC phandle in device tree. Currently i am facing some issue with PMIC? Can it be the reason?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 10:30:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/getting-error-while-booting-cpu-cpu0-failed-to-get-the-regulator/m-p/568804#M87467</guid>
      <dc:creator>jagdishgediya</dc:creator>
      <dc:date>2016-08-08T10:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: getting error while booting cpu cpu0: failed to get the regulator, imx7d-cpufreq: probe of imx7d-cpufreq failed with error -2?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/getting-error-while-booting-cpu-cpu0-failed-to-get-the-regulator/m-p/568805#M87468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one can try to debug it more adding printfs in probe function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 10:54:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/getting-error-while-booting-cpu-cpu0-failed-to-get-the-regulator/m-p/568805#M87468</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-08-08T10:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: getting error while booting cpu cpu0: failed to get the regulator, imx7d-cpufreq: probe of imx7d-cpufreq failed with error -2?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/getting-error-while-booting-cpu-cpu0-failed-to-get-the-regulator/m-p/568806#M87469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagdish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am guessing you are not using the PF3000 PMIC?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a similar issue which was caused by line 194 in drivers/cpufreq/imx7-cpufreq.c:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;CODE&gt;arm_reg = devm_regulator_get(cpu_dev, "arm");&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which is looking for the regulator "arm-supply" under the cpu parent of the device tree.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If, as in my case, it is not convenient to place the supply under the cpu parent, you can try making the following change to line 194:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arm_reg = devm_regulator_get(cpu_dev, "arm");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arm_reg = devm_regulator_get(&amp;amp;pdev-&amp;gt;dev, "arm");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/drivers/cpufreq/imx7-cpufreq.c?h=imx_4.1.15_1.0.0_ga#n194" title="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/drivers/cpufreq/imx7-cpufreq.c?h=imx_4.1.15_1.0.0_ga#n194"&gt;linux-2.6-imx.git - Freescale i.MX Linux Tree&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jacob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2016 18:18:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/getting-error-while-booting-cpu-cpu0-failed-to-get-the-regulator/m-p/568806#M87469</guid>
      <dc:creator>jacobpostman</dc:creator>
      <dc:date>2016-08-15T18:18:24Z</dc:date>
    </item>
  </channel>
</rss>

