<?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 Add CPU available scaling frequency for LS1046A-FRWY in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/Add-CPU-available-scaling-frequency-for-LS1046A-FRWY/m-p/1543542#M11305</link>
    <description>&lt;P&gt;Is there a way to add new frequencies that the processor can run at?&lt;/P&gt;&lt;P&gt;at the moment&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies&lt;/LI-CODE&gt;&lt;P&gt;shows:&amp;nbsp;1600000 1400000 800000 700000.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to run at other frequencies than those listed. I would like the ability to set the frequency the processor runs at for different applications.&lt;/P&gt;&lt;P&gt;I'm using LSDK21.08 and do have the cpu frequency governor set to userspace&lt;/P&gt;</description>
    <pubDate>Tue, 25 Oct 2022 18:04:16 GMT</pubDate>
    <dc:creator>mikey-muller17</dc:creator>
    <dc:date>2022-10-25T18:04:16Z</dc:date>
    <item>
      <title>Add CPU available scaling frequency for LS1046A-FRWY</title>
      <link>https://community.nxp.com/t5/Layerscape/Add-CPU-available-scaling-frequency-for-LS1046A-FRWY/m-p/1543542#M11305</link>
      <description>&lt;P&gt;Is there a way to add new frequencies that the processor can run at?&lt;/P&gt;&lt;P&gt;at the moment&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies&lt;/LI-CODE&gt;&lt;P&gt;shows:&amp;nbsp;1600000 1400000 800000 700000.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to run at other frequencies than those listed. I would like the ability to set the frequency the processor runs at for different applications.&lt;/P&gt;&lt;P&gt;I'm using LSDK21.08 and do have the cpu frequency governor set to userspace&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 18:04:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Add-CPU-available-scaling-frequency-for-LS1046A-FRWY/m-p/1543542#M11305</guid>
      <dc:creator>mikey-muller17</dc:creator>
      <dc:date>2022-10-25T18:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Add CPU available scaling frequency for LS1046A-FRWY</title>
      <link>https://community.nxp.com/t5/Layerscape/Add-CPU-available-scaling-frequency-for-LS1046A-FRWY/m-p/1548188#M11357</link>
      <description>&lt;P&gt;Please enable the following Kernel configuration.&lt;/P&gt;
&lt;P&gt;CONFIG_CPU_FREQ&lt;/P&gt;
&lt;P&gt;CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE&lt;/P&gt;
&lt;P&gt;CONFIG_QORIQ_CPUFREQ&lt;/P&gt;
&lt;P&gt;Test step:&lt;BR /&gt;1. list all the frequencies a core can support (take cpu 0 for example) :&lt;BR /&gt;# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies&lt;BR /&gt;1199999 599999 299999 799999 399999 199999 1066666 533333 266666&lt;BR /&gt;2. check the CPU's current frequency&lt;BR /&gt;# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq&lt;BR /&gt;1199999&lt;BR /&gt;3. change the CPU's frequency we expect:&lt;BR /&gt;# echo 799999 &amp;gt; /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed&lt;BR /&gt;You can check the CPU's current frequency again to confirm if the frequency transition is&lt;BR /&gt;successful.&lt;BR /&gt;Please note that if the frequency you want to change to doesn't support by current CPU, kernel&lt;BR /&gt;will round up or down to one CPU supports.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 09:00:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Add-CPU-available-scaling-frequency-for-LS1046A-FRWY/m-p/1548188#M11357</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2022-11-03T09:00:44Z</dc:date>
    </item>
  </channel>
</rss>

