<?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 GraphicsのトピックRe: MIPI panel driver stalls system</title>
    <link>https://community.nxp.com/t5/i-MX-Graphics/MIPI-panel-driver-stalls-system/m-p/1306997#M174</link>
    <description>&lt;P&gt;Thanks for sharing.&lt;/P&gt;&lt;P&gt;The driver still doesn't bring any picture to the display. But I can see there is a patch for clock on the imx8mm.&lt;/P&gt;&lt;P&gt;Is there a corresponding patch for the imx8mq?&lt;/P&gt;&lt;P&gt;It looks as there are no valid video input to the MIPI bridge, either the clock or the data is wrong.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jul 2021 13:28:21 GMT</pubDate>
    <dc:creator>STHansen</dc:creator>
    <dc:date>2021-07-13T13:28:21Z</dc:date>
    <item>
      <title>MIPI panel driver stalls system</title>
      <link>https://community.nxp.com/t5/i-MX-Graphics/MIPI-panel-driver-stalls-system/m-p/1303728#M168</link>
      <description>&lt;P&gt;I am trying to have a MIPI display working on an imx8mq based system.&lt;/P&gt;&lt;P&gt;Panel is based on ili9881c - 800x1280.&lt;/P&gt;&lt;P&gt;OS is yocto dunfell.&lt;/P&gt;&lt;P&gt;I am using LCDIF -&amp;gt; MIPI -&amp;gt; Panel.&lt;/P&gt;&lt;P&gt;System stalls in the panel driver prepare function.&lt;/P&gt;&lt;P&gt;I have managed to trace the calls into the nwl_dsi where it in the nwl_dsi_write function calls regmap_write from which it never returns.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as I can see this is a write to a register in the mipi interface of the cpu and thus it should not stall the system?&lt;/P&gt;&lt;P&gt;Anyone who knows what could cause this?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;STHansen&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 11:05:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Graphics/MIPI-panel-driver-stalls-system/m-p/1303728#M168</guid>
      <dc:creator>STHansen</dc:creator>
      <dc:date>2021-07-07T11:05:04Z</dc:date>
    </item>
    <item>
      <title>MIPI panel driver stalls system</title>
      <link>https://community.nxp.com/t5/i-MX-Graphics/MIPI-panel-driver-stalls-system/m-p/1305971#M172</link>
      <description>&lt;P&gt;I found that the MIPI core clock is not enabled until after the panel prepare function has been run.&lt;/P&gt;&lt;P&gt;This means the panel init code can not go into the prepare function, but has to be placed in the enable function.&lt;/P&gt;&lt;P&gt;After moving the init code the system no longer stalls, but there is still no picture on the panel.&lt;/P&gt;&lt;P&gt;And i have no indications to why.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 07:28:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Graphics/MIPI-panel-driver-stalls-system/m-p/1305971#M172</guid>
      <dc:creator>STHansen</dc:creator>
      <dc:date>2021-07-12T07:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: MIPI panel driver stalls system</title>
      <link>https://community.nxp.com/t5/i-MX-Graphics/MIPI-panel-driver-stalls-system/m-p/1306378#M173</link>
      <description>&lt;P&gt;It seems that other customers had the issues regarding this Panel, let me share the thread that has a functional driver:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/Driver-of-ST7703-under-Linux-5-4-3/m-p/1267249/highlight/false#M173106" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/Driver-of-ST7703-under-Linux-5-4-3/m-p/1267249/highlight/false#M173106&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 23:29:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Graphics/MIPI-panel-driver-stalls-system/m-p/1306378#M173</guid>
      <dc:creator>jamesbone</dc:creator>
      <dc:date>2021-07-12T23:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: MIPI panel driver stalls system</title>
      <link>https://community.nxp.com/t5/i-MX-Graphics/MIPI-panel-driver-stalls-system/m-p/1306997#M174</link>
      <description>&lt;P&gt;Thanks for sharing.&lt;/P&gt;&lt;P&gt;The driver still doesn't bring any picture to the display. But I can see there is a patch for clock on the imx8mm.&lt;/P&gt;&lt;P&gt;Is there a corresponding patch for the imx8mq?&lt;/P&gt;&lt;P&gt;It looks as there are no valid video input to the MIPI bridge, either the clock or the data is wrong.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 13:28:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Graphics/MIPI-panel-driver-stalls-system/m-p/1306997#M174</guid>
      <dc:creator>STHansen</dc:creator>
      <dc:date>2021-07-13T13:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: MIPI panel driver stalls system</title>
      <link>https://community.nxp.com/t5/i-MX-Graphics/MIPI-panel-driver-stalls-system/m-p/1307188#M175</link>
      <description>&lt;P&gt;Basically the i.MX8MM it is a version of the i.MX8MQ, so if a patch it is for the Mini you can try with the QM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 22:34:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Graphics/MIPI-panel-driver-stalls-system/m-p/1307188#M175</guid>
      <dc:creator>jamesbone</dc:creator>
      <dc:date>2021-07-13T22:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: MIPI panel driver stalls system</title>
      <link>https://community.nxp.com/t5/i-MX-Graphics/MIPI-panel-driver-stalls-system/m-p/1307452#M176</link>
      <description>&lt;P&gt;The&amp;nbsp;clk-imx8mm.c is very different from&amp;nbsp;clk-imx8mq.c&lt;/P&gt;&lt;P&gt;And it looks as vital mapping is different.&lt;/P&gt;&lt;P&gt;dmesg shows this 'mxsfb 30320000.lcdif: Failed to create outputs'&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 10:05:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Graphics/MIPI-panel-driver-stalls-system/m-p/1307452#M176</guid>
      <dc:creator>STHansen</dc:creator>
      <dc:date>2021-07-14T10:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: MIPI panel driver stalls system</title>
      <link>https://community.nxp.com/t5/i-MX-Graphics/MIPI-panel-driver-stalls-system/m-p/1311283#M177</link>
      <description>&lt;P&gt;In nwl-drv.c I find this&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if (!dsi-&amp;gt;use_dcss) {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;/* LCDIF + NWL needs active high sync */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;adjusted-&amp;gt;flags |= (DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;adjusted-&amp;gt;flags &amp;amp;= ~(DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;} else {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;adjusted-&amp;gt;flags &amp;amp;= ~(DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;adjusted-&amp;gt;flags |= (DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and in nwl-dsi.c I find this&lt;/P&gt;&lt;P&gt;&lt;EM&gt;/*&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;* Adjusting input polarity based on the video mode results in&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;* a black screen so always pick active low:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;*/&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;nwl_dsi_write(dsi, NWL_DSI_VSYNC_POLARITY,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;NWL_DSI_VSYNC_POLARITY_ACTIVE_LOW);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;nwl_dsi_write(dsi, NWL_DSI_HSYNC_POLARITY,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;NWL_DSI_HSYNC_POLARITY_ACTIVE_LOW);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;So the question is what is right and what is wrong?&lt;/P&gt;&lt;P&gt;If I use memtool to look at the&amp;nbsp;LCDIF_VDCTRL0n register it looks as if the sync is high no matter what I do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 12:13:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Graphics/MIPI-panel-driver-stalls-system/m-p/1311283#M177</guid>
      <dc:creator>STHansen</dc:creator>
      <dc:date>2021-07-21T12:13:12Z</dc:date>
    </item>
  </channel>
</rss>

