<?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 How to generate a mipi clock (mclk) higher than 33MHz? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-generate-a-mipi-clock-mclk-higher-than-33MHz/m-p/825581#M126941</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working to port a IMX290 sensor to iMX6 (Sabrelite) board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have all the i²c up and running but having problem with the mipi clock. The sensor want a 37.125MHz clock, but when I probe the clock I only get 33MHz on the wire.&lt;/P&gt;&lt;P&gt;Is this a limitation with iMX6 or why can't i get a faster clock? I've been trying to generate a 100MHz one too, but still get 33.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;24 and 22MHz give correct clock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Aug 2018 13:08:08 GMT</pubDate>
    <dc:creator>andreasgustafss</dc:creator>
    <dc:date>2018-08-24T13:08:08Z</dc:date>
    <item>
      <title>How to generate a mipi clock (mclk) higher than 33MHz?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-generate-a-mipi-clock-mclk-higher-than-33MHz/m-p/825581#M126941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working to port a IMX290 sensor to iMX6 (Sabrelite) board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have all the i²c up and running but having problem with the mipi clock. The sensor want a 37.125MHz clock, but when I probe the clock I only get 33MHz on the wire.&lt;/P&gt;&lt;P&gt;Is this a limitation with iMX6 or why can't i get a faster clock? I've been trying to generate a 100MHz one too, but still get 33.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;24 and 22MHz give correct clock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2018 13:08:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-generate-a-mipi-clock-mclk-higher-than-33MHz/m-p/825581#M126941</guid>
      <dc:creator>andreasgustafss</dc:creator>
      <dc:date>2018-08-24T13:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a mipi clock (mclk) higher than 33MHz?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-generate-a-mipi-clock-mclk-higher-than-33MHz/m-p/825582#M126942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max. allowable module frequencies are described in&lt;/P&gt;&lt;P&gt;Table 18-4. System Clock Frequency Values i.MX6DQ Reference Manual&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/docs/en/reference-manual/IMX6DQRM.pdf"&gt;http://www.nxp.com/docs/en/reference-manual/IMX6DQRM.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In your case you should analyze source parent of used mipi clock, if limitation&lt;/P&gt;&lt;P&gt;comes from source and increase it if possible. Sabrelite linux may differ from&lt;/P&gt;&lt;P&gt;nxp official linux releases so better to apply to boundary devices support.&lt;/P&gt;&lt;P&gt;Just for reference attached Linux Manual, one can check Chapter 40&lt;BR /&gt;MIPI - Camera Serial Interface Host Controller.&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, 24 Aug 2018 23:44:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-generate-a-mipi-clock-mclk-higher-than-33MHz/m-p/825582#M126942</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-08-24T23:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a mipi clock (mclk) higher than 33MHz?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-generate-a-mipi-clock-mclk-higher-than-33MHz/m-p/825583#M126943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got an answer back over mail from boundarydevices. And they said that because the pwm-clock is 66MHz, I can only get 33, 22, 11 and so on out of the clock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how do I write a device tree configuration that uses another clock? I can't find any examples. And how do I know which clock can be used? periph2 clock has rate of 528MHz, and 528/7 is close enough to 37.125 for my sensor.&lt;/P&gt;&lt;P&gt;But how would this dts-file look and is it possible to use that clock?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2018 14:04:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-generate-a-mipi-clock-mclk-higher-than-33MHz/m-p/825583#M126943</guid>
      <dc:creator>andreasgustafss</dc:creator>
      <dc:date>2018-08-27T14:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a mipi clock (mclk) higher than 33MHz?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-generate-a-mipi-clock-mclk-higher-than-33MHz/m-p/825584#M126944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;528/14 of course...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2018 14:14:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-generate-a-mipi-clock-mclk-higher-than-33MHz/m-p/825584#M126944</guid>
      <dc:creator>andreasgustafss</dc:creator>
      <dc:date>2018-08-27T14:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a mipi clock (mclk) higher than 33MHz?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-generate-a-mipi-clock-mclk-higher-than-33MHz/m-p/825585#M126945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;these questions are addressed by linux common clock framework documentation&lt;BR /&gt;&lt;A class="link-titled" href="https://www.kernel.org/doc/Documentation/clk.txt" title="https://www.kernel.org/doc/Documentation/clk.txt"&gt;https://www.kernel.org/doc/Documentation/clk.txt&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A class="link-titled" href="https://elinux.org/images/b/b8/Elc2013_Clement.pdf" title="https://elinux.org/images/b/b8/Elc2013_Clement.pdf"&gt;https://elinux.org/images/b/b8/Elc2013_Clement.pdf&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;mipi clock sources can be found in Figure 18-2. Clock Tree i.MX6Q Reference Manual&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>Mon, 27 Aug 2018 23:47:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-generate-a-mipi-clock-mclk-higher-than-33MHz/m-p/825585#M126945</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-08-27T23:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a mipi clock (mclk) higher than 33MHz?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-generate-a-mipi-clock-mclk-higher-than-33MHz/m-p/825586#M126946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry, but I still can't understand how to do this.&lt;/P&gt;&lt;P&gt;And I'm not familiar enough with the iMX6 processor to decipher Fig 18-2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mipi_mclk: mipi_mclk {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; compatible = "pwm-clock";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #clock-cells = &amp;lt;0&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; clock-frequency = &amp;lt;37125000&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; clock-output-names = "mipi_mclk";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pwms = &amp;lt;&amp;amp;pwm3 0 27&amp;gt;; /* 1 / 27 ns = 37,125 MHz */&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I do to base this clock on something else than pwm3? I guess I cant have the first line, as it'll no longer be a pwm clock, and the last line will neither be possible for the same reason.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would be super happy if someone could point me in the right direction. I can't find any documentation with examples on how to do this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 08:59:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-generate-a-mipi-clock-mclk-higher-than-33MHz/m-p/825586#M126946</guid>
      <dc:creator>andreasgustafss</dc:creator>
      <dc:date>2018-08-28T08:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a mipi clock (mclk) higher than 33MHz?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-generate-a-mipi-clock-mclk-higher-than-33MHz/m-p/825587#M126947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;such dts record as below is not used in nxp official bsps, it was developed by boundary devices for its bsps:&lt;/P&gt;&lt;P&gt;mipi_mclk: mipi_mclk {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;compatible = "pwm-clock"&lt;/P&gt;&lt;P&gt;&amp;nbsp;linux-imx6/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/boundarydevices/linux-imx6/blob/boundary-imx_4.1.15_1.0.0_ga/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi" title="https://github.com/boundarydevices/linux-imx6/blob/boundary-imx_4.1.15_1.0.0_ga/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi"&gt;linux-imx6/imx6qdl-sabrelite.dtsi at boundary-imx_4.1.15_1.0.0_ga · boundarydevices/linux-imx6 · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so suggest to apply to boundary devices support for assistance&lt;/P&gt;&lt;P&gt;dts folder of offical nxp bsp:&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?h=imx_4.1.15_2.0.0_ga" title="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts?h=imx_4.1.15_2.0.0_ga"&gt;dts\boot\arm\arch - linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Difference between nxp "official" bsps and bsps developed by third parties is described on:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/323782"&gt;difference between Yocto Community BSP and Freescale BSP Release&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://lists.yoctoproject.org/pipermail/meta-freescale/2018-August/023172.html" title="https://lists.yoctoproject.org/pipermail/meta-freescale/2018-August/023172.html"&gt;[meta-freescale] Preferred kernel for mx7 machine&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://freescale.github.io/doc/release-notes/2.4/" title="http://freescale.github.io/doc/release-notes/2.4/"&gt;FSL Community BSP Release Notes 2.4 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;support policy is described on below link as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/67600i6A6562CB075B094C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.jpg" alt="pastedImage_5.jpg" /&gt;&lt;/span&gt;&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, 29 Aug 2018 01:43:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-generate-a-mipi-clock-mclk-higher-than-33MHz/m-p/825587#M126947</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-08-29T01:43:53Z</dc:date>
    </item>
  </channel>
</rss>

