<?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のトピックRe: imx23. Increase PIXCLOCK in linux 4.x</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx23-Increase-PIXCLOCK-in-linux-4-x/m-p/426569#M64657</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anatol,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how do you come to the conclusion to change the dts file instead of the clock driver?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 03 Oct 2015 09:41:55 GMT</pubDate>
    <dc:creator>lategoodbye</dc:creator>
    <dc:date>2015-10-03T09:41:55Z</dc:date>
    <item>
      <title>imx23. Increase PIXCLOCK in linux 4.x</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx23-Increase-PIXCLOCK-in-linux-4-x/m-p/426568#M64656</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;When i use fbset to set pixclock value 21000 picosecond and it fails: real clock does not exceed 24 MHz. That is because bit 1 of HW_CLKCTRL_CLKSEQ register is set to 0 so ref_xtal is selected to clock lcdif. I need to select ref_pix and enable PIX fractional divider in HW_CLKCTRL_FRAC with setting it`s value. I think its possible to do this by modify .dts file because &lt;SPAN style="line-height: 1.5;"&gt;driver code file drivers/clk/mxs/clk-imx23.c contains string&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;clks[lcdif_sel] = mxs_clk_mux("lcdif_sel", CLKSEQ, 1, 1, sel_pix, ARRAY_SIZE(sel_pix));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;So can anybody show me way how to do this or advice something else?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;Anatol&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 07:36:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx23-Increase-PIXCLOCK-in-linux-4-x/m-p/426568#M64656</guid>
      <dc:creator>anatolivanov</dc:creator>
      <dc:date>2015-10-02T07:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: imx23. Increase PIXCLOCK in linux 4.x</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx23-Increase-PIXCLOCK-in-linux-4-x/m-p/426569#M64657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anatol,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how do you come to the conclusion to change the dts file instead of the clock driver?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Oct 2015 09:41:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx23-Increase-PIXCLOCK-in-linux-4-x/m-p/426569#M64657</guid>
      <dc:creator>lategoodbye</dc:creator>
      <dc:date>2015-10-03T09:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: imx23. Increase PIXCLOCK in linux 4.x</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx23-Increase-PIXCLOCK-in-linux-4-x/m-p/426570#M64658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately i do not understand well how linux clock framework works and how it communicates with dts blob. I saw in the &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;clk-imx23.c implemented&lt;/SPAN&gt; &lt;SPAN style="line-height: 1.5;"&gt;something&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5;"&gt; about multiplexing clock which used to clock lcdif. I thought as its possible to select clock in dts file, so its possible to set mux parametrs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;Am i wrong? Do you know what is "&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;lcdif_sel" in the clocks list?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Oct 2015 10:07:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx23-Increase-PIXCLOCK-in-linux-4-x/m-p/426570#M64658</guid>
      <dc:creator>anatolivanov</dc:creator>
      <dc:date>2015-10-03T10:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: imx23. Increase PIXCLOCK in linux 4.x</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx23-Increase-PIXCLOCK-in-linux-4-x/m-p/426571#M64659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anatol,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the device tree source (dts) usually describe the static hardware not the configuration. The clock muxing must be dynamic and should be done by clock driver and the clock framework.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this little &lt;A href="https://gist.github.com/lategoodbye/15943e9bd8a3630e4264"&gt;gist&lt;/A&gt; answer your last question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: Maybe this &lt;A href="http://lxr.free-electrons.com/source/Documentation/devicetree/bindings/clock/imx23-clock.txthttp://lxr.free-electrons.com/source/Documentation/devicetree/bindings/clock/imx23-clock.txt"&gt;reference&lt;/A&gt; is helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Oct 2015 10:49:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx23-Increase-PIXCLOCK-in-linux-4-x/m-p/426571#M64659</guid>
      <dc:creator>lategoodbye</dc:creator>
      <dc:date>2015-10-03T10:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: imx23. Increase PIXCLOCK in linux 4.x</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx23-Increase-PIXCLOCK-in-linux-4-x/m-p/426572#M64660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand about the gist. I dont understand how to select ref_pix as clock source. I tried to set "clocks = &amp;lt;&amp;amp;clks 4&amp;gt;;" to bind lcdif with ref_pix. But then i got CLK_PIX gated off by bit 31 (CLKGATE == 1) of register HW_CLKCTRL_PIX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be i should to use &lt;SPAN style="color: #333333; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px;"&gt;lcdif_sel&lt;/SPAN&gt; somehow?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Oct 2015 11:04:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx23-Increase-PIXCLOCK-in-linux-4-x/m-p/426572#M64660</guid>
      <dc:creator>anatolivanov</dc:creator>
      <dc:date>2015-10-03T11:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: imx23. Increase PIXCLOCK in linux 4.x</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx23-Increase-PIXCLOCK-in-linux-4-x/m-p/426573#M64661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please do not change dts. I create a patch for the clock driver, which should do the trick. But i can't test it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Oct 2015 11:48:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx23-Increase-PIXCLOCK-in-linux-4-x/m-p/426573#M64661</guid>
      <dc:creator>lategoodbye</dc:creator>
      <dc:date>2015-10-03T11:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: imx23. Increase PIXCLOCK in linux 4.x</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx23-Increase-PIXCLOCK-in-linux-4-x/m-p/426574#M64662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stefan, thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your method works fine.&lt;/P&gt;&lt;P&gt;Also exist alternative method suggested by Marek Vasut at &lt;A href="http://permalink.gmane.org/gmane.linux.ports.arm.kernel/268401" title="http://permalink.gmane.org/gmane.linux.ports.arm.kernel/268401"&gt;[PATCH] clk: mxs: source LCD clock from PLL instead of from ref_xtal&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 04:17:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx23-Increase-PIXCLOCK-in-linux-4-x/m-p/426574#M64662</guid>
      <dc:creator>anatolivanov</dc:creator>
      <dc:date>2015-10-05T04:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: imx23. Increase PIXCLOCK in linux 4.x</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx23-Increase-PIXCLOCK-in-linux-4-x/m-p/426575#M64663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be nice if someone could resend Hector's patch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 04:25:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx23-Increase-PIXCLOCK-in-linux-4-x/m-p/426575#M64663</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2015-10-05T04:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: imx23. Increase PIXCLOCK in linux 4.x</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx23-Increase-PIXCLOCK-in-linux-4-x/m-p/426576#M64664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a reason why the patch was never applied?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 16:47:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx23-Increase-PIXCLOCK-in-linux-4-x/m-p/426576#M64664</guid>
      <dc:creator>lategoodbye</dc:creator>
      <dc:date>2015-10-05T16:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: imx23. Increase PIXCLOCK in linux 4.x</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx23-Increase-PIXCLOCK-in-linux-4-x/m-p/426577#M64665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably because the clock maintainer was not Cc'ed. It got an Acked-by from Shawn too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 16:49:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx23-Increase-PIXCLOCK-in-linux-4-x/m-p/426577#M64665</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2015-10-05T16:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: imx23. Increase PIXCLOCK in linux 4.x</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx23-Increase-PIXCLOCK-in-linux-4-x/m-p/426578#M64666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that was the case:&lt;/P&gt;&lt;P&gt;&lt;A href="http://lists.infradead.org/pipermail/linux-arm-kernel/2013-September/199790.html" title="http://lists.infradead.org/pipermail/linux-arm-kernel/2013-September/199790.html"&gt;[PATCH] clk: mxs: source LCD clock from PLL instead of from ref_xtal&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan, do you plan to resend it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabio Estevam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 19:58:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx23-Increase-PIXCLOCK-in-linux-4-x/m-p/426578#M64666</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2015-10-05T19:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: imx23. Increase PIXCLOCK in linux 4.x</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx23-Increase-PIXCLOCK-in-linux-4-x/m-p/426579#M64667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Currently i don't have a test environment for i.MX23 or i.MX28.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know any drawbacks of the this patch (higher power consumption etc)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this patch compatible with i.MX280 since it has no lcdif interface?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2015 06:22:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx23-Increase-PIXCLOCK-in-linux-4-x/m-p/426579#M64667</guid>
      <dc:creator>lategoodbye</dc:creator>
      <dc:date>2015-10-06T06:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: imx23. Increase PIXCLOCK in linux 4.x</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx23-Increase-PIXCLOCK-in-linux-4-x/m-p/426580#M64668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not aware of any drawbacks. Don't have access to mx280 here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2015 12:44:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx23-Increase-PIXCLOCK-in-linux-4-x/m-p/426580#M64668</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2015-10-06T12:44:44Z</dc:date>
    </item>
  </channel>
</rss>

