<?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: How to set correct clock-frequency in MIPI DSI Display in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-set-correct-clock-frequency-in-MIPI-DSI-Display/m-p/1003831#M148775</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi CS Lin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are some limitations on clock, for example one can check valid_clocks[] in&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/gpu/drm/bridge/nwl-dsi.c?h=imx_4.14.98_2.0.0_ga" title="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/gpu/drm/bridge/nwl-dsi.c?h=imx_4.14.98_2.0.0_ga"&gt;nwl-dsi.c\bridge\drm\gpu\drivers - linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Recommended to try latest L4.19.35 kernel or workarounds described on&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/513899"&gt;https://community.nxp.com/thread/513899&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>Tue, 25 Feb 2020 00:23:23 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2020-02-25T00:23:23Z</dc:date>
    <item>
      <title>How to set correct clock-frequency in MIPI DSI Display</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-set-correct-clock-frequency-in-MIPI-DSI-Display/m-p/1003830#M148774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;now we are porting Tianma TM050JDHC02 panel into imx8mq custom board. with vendor provided panel config as below,&amp;nbsp;&lt;/P&gt;&lt;P&gt;#define LCM_PCLK 82&lt;BR /&gt;#define LCM_HACT 720&lt;BR /&gt;#define LCM_HFP 92&lt;BR /&gt;#define LCM_HBP 80&lt;BR /&gt;#define LCM_HSA 20&lt;BR /&gt;#define LCM_VACT 1280&lt;BR /&gt;#define LCM_VFP 200&lt;BR /&gt;#define LCM_VBP 16&lt;BR /&gt;#define LCM_VSA 2&lt;BR /&gt;#define LCM_NLANE 4&lt;BR /&gt;#define LCM_VDOMODE 0&lt;BR /&gt;#define LCM_MIPISPEED 500&lt;/P&gt;&lt;P&gt;Our question is, if we set LCM_PCLK to 82Mhz or 120Mhz to "clock-frequency" in DTS (please refer to DTS.txt), then&amp;nbsp;panel will show nothing, and you will have a of of&amp;nbsp;&lt;/P&gt;&lt;P&gt;[ 1.474487] [drm] Cannot find any crtc or sizes&lt;BR /&gt;[ 1.479995] [drm] Initialized imx-drm 1.0.0 20120507 for display-subsystem on minor 0&lt;/P&gt;&lt;P&gt;you can refer the log of log&amp;nbsp;inilog_82Mhz.log for full logs.&lt;/P&gt;&lt;P&gt;But if we set it to 132MHz, we it can show the display content, but if will have a log of&lt;/P&gt;&lt;P&gt;dcss-core 32e00000.dcss: Pixel clock set to 120000 kHz instead of 132000 kHz, difference is -12000000 Hz (inilog_132Mhz.log)&lt;/P&gt;&lt;P&gt;Can you help figure out what's wrong with clock-frequency setting in DTS? and what should we modify in DTS to have LCM_PCLK as 82Mhz?&lt;/P&gt;&lt;P&gt;thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2020 09:29:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-set-correct-clock-frequency-in-MIPI-DSI-Display/m-p/1003830#M148774</guid>
      <dc:creator>cs_lin</dc:creator>
      <dc:date>2020-02-24T09:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to set correct clock-frequency in MIPI DSI Display</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-set-correct-clock-frequency-in-MIPI-DSI-Display/m-p/1003831#M148775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi CS Lin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are some limitations on clock, for example one can check valid_clocks[] in&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/gpu/drm/bridge/nwl-dsi.c?h=imx_4.14.98_2.0.0_ga" title="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/gpu/drm/bridge/nwl-dsi.c?h=imx_4.14.98_2.0.0_ga"&gt;nwl-dsi.c\bridge\drm\gpu\drivers - linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Recommended to try latest L4.19.35 kernel or workarounds described on&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/513899"&gt;https://community.nxp.com/thread/513899&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>Tue, 25 Feb 2020 00:23:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-set-correct-clock-frequency-in-MIPI-DSI-Display/m-p/1003831#M148775</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-02-25T00:23:23Z</dc:date>
    </item>
  </channel>
</rss>

