<?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: MIPI_DSI timing setting</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/MIPI-DSI-timing-setting/m-p/800733#M123742</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Igor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When using 132 MHz clock i get valid mipi timing.&lt;BR /&gt;i used following settting&lt;/P&gt;&lt;P&gt;.clock = 132000,&lt;BR /&gt;.hdisplay = 1344,&lt;BR /&gt;.hsync_start = 1344 + 20,&lt;BR /&gt;.hsync_end = 1344 + 20 + 2,&lt;BR /&gt;.htotal = 1344 + 20 + 2 + 34,&lt;BR /&gt;.vdisplay = 1760,&lt;BR /&gt;.vsync_start = 1760 + 2,&lt;BR /&gt;.vsync_end = 1760 + 2 + 2,&lt;BR /&gt;.vtotal = 1760 + 2 + 2 + 2,&lt;BR /&gt;.vrefresh = 60,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However the horizontal timing is different then calculated from blanking setting.&lt;BR /&gt;According the calculation line time should be 9.65 us but i measure 11.68us&lt;BR /&gt;Frame frequency is 48.4 Hz instead of 58.8&lt;/P&gt;&lt;P&gt;The problem now is that when i increase the clock frequency and set it to 144 MHz i don't get valid MIPI output&lt;BR /&gt;Seems to me that blanking parameter is dependent on the clockfrequency.&lt;BR /&gt;Do you know what the relation is and how the LP period is inserted in the horizontal blanking.&lt;/P&gt;&lt;P&gt;Thanks Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Dec 2018 16:29:45 GMT</pubDate>
    <dc:creator>janmennen</dc:creator>
    <dc:date>2018-12-21T16:29:45Z</dc:date>
    <item>
      <title>MIPI_DSI timing setting</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MIPI-DSI-timing-setting/m-p/800731#M123740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I have difficulty in finding the write settings to drive a panel with resolution 1344x1760. This panel is connected via TI MIPI to LVDS bridge.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;After a lot of trail and error i find a timing which gives valid output. Clock frequency is however only 80 MHz&lt;BR /&gt;When increasing the clock to 100 MHz i get still valid hsync pulses but no vsync. Because i still get the hsync i assume it is not a timing problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see also that when i increase the vertical frontporch to 20 i don't get any valid MIPI signal anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question is how can i define the correct setting for a given resolution and are there restrictions in vertical and horizontal blanking setting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is current setting. The target is to drive with higher clock up to 145 MHz to get 60 Hz frame rate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static const struct drm_display_mode cid_cid1344_mode = {&lt;BR /&gt; .clock = 80000,&lt;BR /&gt; .hdisplay = 1344,&lt;BR /&gt; .hsync_start = 1344 + 20,&lt;BR /&gt; .hsync_end = 1344 + 20 + 40,&lt;BR /&gt; .htotal = 1344 + 20 + 40 + 120,&lt;BR /&gt; .vdisplay = 1760,&lt;BR /&gt; .vsync_start = 1760 + 2,&lt;BR /&gt; .vsync_end = 1760 + 2 + 4,&lt;BR /&gt; .vtotal = 1760 + 2 + 4 + 2,&lt;BR /&gt; .vrefresh = 30,&lt;BR /&gt; .flags = DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC,&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2018 15:57:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MIPI-DSI-timing-setting/m-p/800731#M123740</guid>
      <dc:creator>janmennen</dc:creator>
      <dc:date>2018-12-14T15:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: MIPI_DSI timing setting</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MIPI-DSI-timing-setting/m-p/800732#M123741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for mipi-dsi bridge example one can check:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/482724"&gt;how to use ldb/lvds in android8 of imx8mq ?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also one can look at example in ..drivers\gpu\drm\panel\panel-raydium-rm67191.c&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/gpu/drm/panel/panel-raydium-rm67191.c?h=imx_4.14.62_1.0.0_beta" title="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/gpu/drm/panel/panel-raydium-rm67191.c?h=imx_4.14.62_1.0.0_beta"&gt;panel-raydium-rm67191.c\panel\drm\gpu\drivers - linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and try to debug it, when the bridge chip is found and initialized, it will enable the clocks,&lt;BR /&gt;then call detect function to get the supported video modes. &lt;BR /&gt;Display system will set one of the modes to LCDIF/DCSS and bridge driver, &lt;BR /&gt;the display clock is enabled at this time.&lt;BR /&gt;&lt;BR /&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>Sat, 15 Dec 2018 03:53:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MIPI-DSI-timing-setting/m-p/800732#M123741</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-12-15T03:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: MIPI_DSI timing setting</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MIPI-DSI-timing-setting/m-p/800733#M123742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Igor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When using 132 MHz clock i get valid mipi timing.&lt;BR /&gt;i used following settting&lt;/P&gt;&lt;P&gt;.clock = 132000,&lt;BR /&gt;.hdisplay = 1344,&lt;BR /&gt;.hsync_start = 1344 + 20,&lt;BR /&gt;.hsync_end = 1344 + 20 + 2,&lt;BR /&gt;.htotal = 1344 + 20 + 2 + 34,&lt;BR /&gt;.vdisplay = 1760,&lt;BR /&gt;.vsync_start = 1760 + 2,&lt;BR /&gt;.vsync_end = 1760 + 2 + 2,&lt;BR /&gt;.vtotal = 1760 + 2 + 2 + 2,&lt;BR /&gt;.vrefresh = 60,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However the horizontal timing is different then calculated from blanking setting.&lt;BR /&gt;According the calculation line time should be 9.65 us but i measure 11.68us&lt;BR /&gt;Frame frequency is 48.4 Hz instead of 58.8&lt;/P&gt;&lt;P&gt;The problem now is that when i increase the clock frequency and set it to 144 MHz i don't get valid MIPI output&lt;BR /&gt;Seems to me that blanking parameter is dependent on the clockfrequency.&lt;BR /&gt;Do you know what the relation is and how the LP period is inserted in the horizontal blanking.&lt;/P&gt;&lt;P&gt;Thanks Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2018 16:29:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MIPI-DSI-timing-setting/m-p/800733#M123742</guid>
      <dc:creator>janmennen</dc:creator>
      <dc:date>2018-12-21T16:29:45Z</dc:date>
    </item>
  </channel>
</rss>

