<?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: iMX Clock Divider in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX-Clock-Divider/m-p/1025139#M151497</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raajesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example one can try to change "mclk" to necessary value&lt;/P&gt;&lt;P&gt;ov564x: ov564x@3c {..&lt;BR /&gt;clocks = &amp;lt;&amp;amp;clks IMX6QDL_CLK_CKO&amp;gt;;&lt;BR /&gt;..&lt;BR /&gt;mclk = &amp;lt;24000000&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6qdl-sabresd.dtsi?h=imx_4.19.35_1.1.0" title="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6qdl-sabresd.dtsi?h=imx_4.19.35_1.1.0"&gt;imx6qdl-sabresd.dtsi\dts\boot\arm\arch - linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Mar 2020 09:58:56 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2020-03-25T09:58:56Z</dc:date>
    <item>
      <title>iMX Clock Divider</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX-Clock-Divider/m-p/1025136#M151494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to divide a clock (CLKO2) to 12MHz from its default value 24MHz. From imx6qclk.c there is function call to&amp;nbsp;&lt;/P&gt;&lt;PRE style="color: #000000; padding: 1em 0px 4em 1em;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt;&lt;A href="https://elixir.bootlin.com/linux/v4.5/ident/clk" rel="nofollow noopener noreferrer" style="color: inherit; background-color: #f4f6ff; font-weight: bold; text-decoration: none;" target="_blank"&gt;clk&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666;"&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;A href="https://elixir.bootlin.com/linux/v4.5/ident/IMX6QDL_CLK_CKO2_PODF" rel="nofollow noopener noreferrer" style="color: inherit; background-color: #f4f6ff; font-weight: bold; text-decoration: none;" target="_blank"&gt;IMX6QDL_CLK_CKO2_PODF&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666;"&gt;]&lt;/SPAN&gt;  &lt;/SPAN&gt;&lt;SPAN style="color: #666666;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;&lt;A href="https://elixir.bootlin.com/linux/v4.5/ident/imx_clk_divider" rel="nofollow noopener noreferrer" style="color: inherit; background-color: #f4f6ff; font-weight: bold; text-decoration: none;" target="_blank"&gt;imx_clk_divider&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #de7f00;"&gt;"cko2_podf"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #de7f00;"&gt;"cko2_sel"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;base&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #005588;"&gt;0x60&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #0000dd;"&gt;21&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #0000dd;"&gt;3&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666;"&gt;);&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;whatever i change in the bit values (3/4/5 ) the divider is still the same. can someone explain how this clock divider works. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2020 08:47:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX-Clock-Divider/m-p/1025136#M151494</guid>
      <dc:creator>raajeshk88</dc:creator>
      <dc:date>2020-02-27T08:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: iMX Clock Divider</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX-Clock-Divider/m-p/1025137#M151495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raajesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can attach jtag and check CCM_CCOSR register, it is described in&lt;/P&gt;&lt;P&gt;sect.18.6.21 CCM Clock Output Source Register (CCM_CCOSR) i.MX6DQ Reference Manual.&lt;/P&gt;&lt;P&gt;Also necessary initialization can be done in uboot. As for dts clock settings may be useful to look on&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/452513"&gt;Where pll4_bypass_src is set to choose osc 24MHz or CLK2_N/P as source in linux BSP code?&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>Fri, 28 Feb 2020 04:44:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX-Clock-Divider/m-p/1025137#M151495</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-02-28T04:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: iMX Clock Divider</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX-Clock-Divider/m-p/1025138#M151496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Thanks for the reply. Actually I am looking to use the clk_divider API to divide the clk. From the register settings it says the bits 21 to 23 is for divider (000-111) but i want ot knwo to set 101 for the bits 21-23 using this API.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2020 03:05:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX-Clock-Divider/m-p/1025138#M151496</guid>
      <dc:creator>raajeshk88</dc:creator>
      <dc:date>2020-03-25T03:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: iMX Clock Divider</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX-Clock-Divider/m-p/1025139#M151497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raajesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example one can try to change "mclk" to necessary value&lt;/P&gt;&lt;P&gt;ov564x: ov564x@3c {..&lt;BR /&gt;clocks = &amp;lt;&amp;amp;clks IMX6QDL_CLK_CKO&amp;gt;;&lt;BR /&gt;..&lt;BR /&gt;mclk = &amp;lt;24000000&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6qdl-sabresd.dtsi?h=imx_4.19.35_1.1.0" title="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6qdl-sabresd.dtsi?h=imx_4.19.35_1.1.0"&gt;imx6qdl-sabresd.dtsi\dts\boot\arm\arch - linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2020 09:58:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX-Clock-Divider/m-p/1025139#M151497</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-03-25T09:58:56Z</dc:date>
    </item>
  </channel>
</rss>

