<?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 i.MX6Q: observation clock cko2 125M_clk_root source configuration on 3.10.17 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-observation-clock-cko2-125M-clk-root-source-configuration/m-p/372617#M53279</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trying to setup 3.10.17 to use the CCM_CLKO2 to output the 125M clock (01001 on CLKO2_SEL at CCM_CCOSR ) , I found that its name in cko2_sels at clk-imx6q.c is ... "dummy". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does this mean? Is it not going to work? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I looked the imx6 reference manual for a 125M root clock and I can not found another reference. Is it an errrata? Does that clock not exist?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards,&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Jan 2015 10:47:43 GMT</pubDate>
    <dc:creator>controlhorus</dc:creator>
    <dc:date>2015-01-23T10:47:43Z</dc:date>
    <item>
      <title>i.MX6Q: observation clock cko2 125M_clk_root source configuration on 3.10.17</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-observation-clock-cko2-125M-clk-root-source-configuration/m-p/372617#M53279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trying to setup 3.10.17 to use the CCM_CLKO2 to output the 125M clock (01001 on CLKO2_SEL at CCM_CCOSR ) , I found that its name in cko2_sels at clk-imx6q.c is ... "dummy". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does this mean? Is it not going to work? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I looked the imx6 reference manual for a 125M root clock and I can not found another reference. Is it an errrata? Does that clock not exist?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards,&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 10:47:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-observation-clock-cko2-125M-clk-root-source-configuration/m-p/372617#M53279</guid>
      <dc:creator>controlhorus</dc:creator>
      <dc:date>2015-01-23T10:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q: observation clock cko2 125M_clk_root source configuration on 3.10.17</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-observation-clock-cko2-125M-clk-root-source-configuration/m-p/372618#M53280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diego&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this clock is 125 MHz Ref_PCIe generated by Ethernet PLL.&lt;/P&gt;&lt;P&gt;You should see this clock enabling Analog ENET PLL Control&lt;/P&gt;&lt;P&gt;Register CCM_ANALOG_PLL_ENET, ENABLE_125M.&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>Mon, 26 Jan 2015 08:55:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-observation-clock-cko2-125M-clk-root-source-configuration/m-p/372618#M53280</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-01-26T08:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q: observation clock cko2 125M_clk_root source configuration on 3.10.17</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-observation-clock-cko2-125M-clk-root-source-configuration/m-p/372619#M53281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to test it changing mach-imx6q.c. However the compiled kernel hangs at "Starting kernel".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am adding lines like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp; u32 reg = (ANADIG_ANA_MISC1_LVDSCLK1_IBEN | ANADIG_ANA_MISC1_LVDS1_CLK_SEL_MASK);&lt;/P&gt;&lt;P&gt;&amp;nbsp; writel(reg, (volatile void __iomem *) 0x20C8168);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this kind of writing not allowed at this stage?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 18:10:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-observation-clock-cko2-125M-clk-root-source-configuration/m-p/372619#M53281</guid>
      <dc:creator>controlhorus</dc:creator>
      <dc:date>2015-01-27T18:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q: observation clock cko2 125M_clk_root source configuration on 3.10.17</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-observation-clock-cko2-125M-clk-root-source-configuration/m-p/372620#M53282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not sure that I could answer on every fluent code change,&lt;/P&gt;&lt;P&gt;suggest also to post on meta-fsl-arm mailing list&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://lists.yoctoproject.org/listinfo/meta-freescale" target="_blank"&gt;https://lists.yoctoproject.org/listinfo/meta-freescale&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 01:25:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-observation-clock-cko2-125M-clk-root-source-configuration/m-p/372620#M53282</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-01-28T01:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q: observation clock cko2 125M_clk_root source configuration on 3.10.17</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-observation-clock-cko2-125M-clk-root-source-configuration/m-p/372621#M53283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it has somenthing to do with iMX6 security system. Access to that registers at that moment seems to be denied and the kernel load crashes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for how to change that with no luck.&amp;nbsp; I found that dts configures AIPS registers like this:&lt;/P&gt;&lt;P&gt;aipstz@0207c000 &lt;/P&gt;&lt;P&gt;{ &lt;/P&gt;&lt;P&gt;&amp;nbsp; reg = &amp;lt;0x207c000 0x4000&amp;gt;;&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I changed it to:&lt;/P&gt;&lt;P&gt;aipstz@0207c000 &lt;/P&gt;&lt;P&gt;{ &lt;/P&gt;&lt;P&gt;&amp;nbsp; reg = &amp;lt;0x207c000 0x77777777&amp;gt;;&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;and I yet have not access to read that same AIPSTZ1 register from mach-imx6q.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 09:36:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-observation-clock-cko2-125M-clk-root-source-configuration/m-p/372621#M53283</guid>
      <dc:creator>controlhorus</dc:creator>
      <dc:date>2015-01-28T09:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q: observation clock cko2 125M_clk_root source configuration on 3.10.17</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-observation-clock-cko2-125M-clk-root-source-configuration/m-p/372622#M53284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On mail list, they redirected me to &lt;A href="http://www.makelinux.net/ldd3/chp-9-sect-4" title="http://www.makelinux.net/ldd3/chp-9-sect-4"&gt;9.4. Using I/O Memory&lt;/A&gt; ... and another mail list :smileyshocked:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that my approach to register access is too 'deprecated' ... and totally wrong .. as i was fearing already. I am going to try to use request_mem_region and ioremap as ehci-fsl.c does&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 12:34:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-observation-clock-cko2-125M-clk-root-source-configuration/m-p/372622#M53284</guid>
      <dc:creator>controlhorus</dc:creator>
      <dc:date>2015-01-28T12:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6Q: observation clock cko2 125M_clk_root source configuration on 3.10.17</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-observation-clock-cko2-125M-clk-root-source-configuration/m-p/372623#M53285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for access memory/register one can look at memtool example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="loading" href="http://repository.timesys.com/buildsources/i/imx-test/imx-test-3.10.17-1.0.0/" title="http://repository.timesys.com/buildsources/i/imx-test/imx-test-3.10.17-1.0.0/"&gt;http://repository.timesys.com/buildsources/i/imx-test/imx-test-3.10.17-1.0.0/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 14:27:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-observation-clock-cko2-125M-clk-root-source-configuration/m-p/372623#M53285</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-01-28T14:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Re: i.MX6Q: observation clock cko2 125M_clk_root source configuration on 3.10.17</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-observation-clock-cko2-125M-clk-root-source-configuration/m-p/372624#M53286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ehci-fsl.c was a bad selection. It is not compiled for imx6. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I used the request_mem_region, ioremap and ioread32 process&amp;nbsp; .. and kernel keeps hanging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I traced calls to __request_region on kernel/resource.c. IPU driver is calling this in a different way: &lt;/P&gt;&lt;P&gt;&amp;nbsp; platform_get_resource(pdev, IORESOURCE_MEM, 0);&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; devm_request_mem_region(&amp;amp;pdev-&amp;gt;dev, res-&amp;gt;start, resource_size(res), pdev-&amp;gt;name);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am going to email this to the linux-arm list while testing if I can use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 11:37:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-observation-clock-cko2-125M-clk-root-source-configuration/m-p/372624#M53286</guid>
      <dc:creator>controlhorus</dc:creator>
      <dc:date>2015-01-29T11:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Re: i.MX6Q: observation clock cko2 125M_clk_root source configuration on 3.10.17</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-observation-clock-cko2-125M-clk-root-source-configuration/m-p/372625#M53287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;memtool uses /dev/mem to access to registers. But I think this is a tool for user space. We have no problems in user space.&amp;nbsp; Our first tests were writing the registers from user space and they worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 11:40:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6Q-observation-clock-cko2-125M-clk-root-source-configuration/m-p/372625#M53287</guid>
      <dc:creator>controlhorus</dc:creator>
      <dc:date>2015-01-29T11:40:31Z</dc:date>
    </item>
  </channel>
</rss>

