<?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>i.MX ProcessorsのトピックQuestion, i.MX51 Display clock setting</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Question-i-MX51-Display-clock-setting/m-p/646730#M98769</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would like to ask bout DSP_CLK setting of i.MX51.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My customer wants to change DSP_CLK setting of i.MX51.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now they are using display interface of i.MX51 to output display data with DSP_CLK’s FALLING edge.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And they want to change it to output display data with DSP_CLK’s RISING edge.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It is possible?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;They are using your LinuxBSP(L.2.6.31 base) and they believe that they should modify the source code as below to achieve that.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In source file ipu_common.c, and in ipu_pixel_clk_set_rate() function,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;_raw_writel((dev/16)&amp;lt;&amp;lt; 16, DI_BS_CLKGEN1(clk-&amp;gt;id));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The above statement should change as below;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;_raw_writel(((dev/16)*2)&amp;lt;&amp;lt; 16 | (dev/16) , DI_BS_CLKGEN1(clk-&amp;gt;id));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is it true?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Miyamoto&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jan 2017 06:15:23 GMT</pubDate>
    <dc:creator>Aemj</dc:creator>
    <dc:date>2017-01-26T06:15:23Z</dc:date>
    <item>
      <title>Question, i.MX51 Display clock setting</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Question-i-MX51-Display-clock-setting/m-p/646730#M98769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would like to ask bout DSP_CLK setting of i.MX51.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My customer wants to change DSP_CLK setting of i.MX51.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now they are using display interface of i.MX51 to output display data with DSP_CLK’s FALLING edge.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And they want to change it to output display data with DSP_CLK’s RISING edge.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It is possible?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;They are using your LinuxBSP(L.2.6.31 base) and they believe that they should modify the source code as below to achieve that.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In source file ipu_common.c, and in ipu_pixel_clk_set_rate() function,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;_raw_writel((dev/16)&amp;lt;&amp;lt; 16, DI_BS_CLKGEN1(clk-&amp;gt;id));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The above statement should change as below;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;_raw_writel(((dev/16)*2)&amp;lt;&amp;lt; 16 | (dev/16) , DI_BS_CLKGEN1(clk-&amp;gt;id));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is it true?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Miyamoto&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 06:15:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Question-i-MX51-Display-clock-setting/m-p/646730#M98769</guid>
      <dc:creator>Aemj</dc:creator>
      <dc:date>2017-01-26T06:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Question, i.MX51 Display clock setting</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Question-i-MX51-Display-clock-setting/m-p/646731#M98770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miyamoto&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;display clock polarity can be changed with register DI0_GENERAL, &lt;BR /&gt;bit - 17 di0_polarity_disp_clk DI0 Output Clock’s polarity, described in&lt;BR /&gt;Table 42-201. DI0_GENERAL Field Descriptions i.MX51 Reference Manual&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freescale.com%2Ffiles%2Fdsp%2Fdoc%2Fref_manual%2FMCIMX51RM.pdf" rel="nofollow" target="_blank"&gt;http://www.freescale.com/files/dsp/doc/ref_manual/MCIMX51RM.pdf&lt;/A&gt;&lt;BR /&gt;Setting can be added to ipu_probe() (example of DI_GENERAL usage&lt;BR /&gt;can be found in function _ipu_pixel_clk_set_parent)&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>Thu, 26 Jan 2017 07:22:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Question-i-MX51-Display-clock-setting/m-p/646731#M98770</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-01-26T07:22:47Z</dc:date>
    </item>
  </channel>
</rss>

