<?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: IMX7D MIPI Display U-Boot in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX7D-MIPI-Display-U-Boot/m-p/1095431#M160459</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the setup code I've got, good to know it's the correct version. Is there a working example of this on an IMX7D?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see on the example in imx8mm_evk.c that before calling the setup function, these functions are run&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* enable the dispmix &amp;amp; mipi phy power domain */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;call_imx_sip(FSL_SIP_GPC, FSL_SIP_CONFIG_GPC_PM_DOMAIN, DISPMIX, true, 0);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;call_imx_sip(FSL_SIP_GPC, FSL_SIP_CONFIG_GPC_PM_DOMAIN, MIPI, true, 0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;/* Put lcdif out of reset */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;disp_mix_bus_rstn_reset(imx8mm_mipi_dsim_plat_data.gpr_base, false);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;disp_mix_lcdif_clks_enable(imx8mm_mipi_dsim_plat_data.gpr_base, true);&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;Are there equivalents for the IMX7D?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What clocks and power domains do I need to enable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 May 2020 05:27:42 GMT</pubDate>
    <dc:creator>nicholash</dc:creator>
    <dc:date>2020-05-18T05:27:42Z</dc:date>
    <item>
      <title>IMX7D MIPI Display U-Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX7D-MIPI-Display-U-Boot/m-p/1095429#M160457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;BR /&gt;I'm trying to use a MIPI display in UBoot on an IMX7D Sabre board. I have the display working in Linux, so I'm sure there's no hardware problem. I'm trying to use the sec_mipi_dsim.c driver, which claims (according to the git commit) to be the correct driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also added to the setup function:&lt;BR /&gt; clock_enable(CCGR_MIPI_DSI, true);&lt;BR /&gt; clock_enable(CCGR_MIPI_MEM_PHY, true);&lt;BR /&gt; clock_enable(CCGR_LCDIF, true);&lt;BR /&gt;&lt;BR /&gt;This seems to get it part of the way through initalising the peripheral up until it throws an error saying "Clock is not in stop state". How do I get past this error? Is there any documentation for this?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If I comment out this error checking, I get a tx timeout error when writing in my screen setup driver and then I hang when drawing the logo. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2020 00:08:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX7D-MIPI-Display-U-Boot/m-p/1095429#M160457</guid>
      <dc:creator>nicholash</dc:creator>
      <dc:date>2020-05-18T00:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: IMX7D MIPI Display U-Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX7D-MIPI-Display-U-Boot/m-p/1095430#M160458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nick&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can look at below patches:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.puri.sm/Librem5/uboot-imx/-/commit/337cb8f8802cc9a90dc103e496cdece1d84953c0#a73482f6b56d5f20eccc1d5d5276687deac2076a" title="https://source.puri.sm/Librem5/uboot-imx/-/commit/337cb8f8802cc9a90dc103e496cdece1d84953c0#a73482f6b56d5f20eccc1d5d5276687deac2076a"&gt;MLK-18945-6 video: Add driver sec_mipi_dsim for mipi dsi on iMX8MM and iMX7D (337cb8f8) · Commits · Librem5 / uboot-imx …&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>Mon, 18 May 2020 04:15:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX7D-MIPI-Display-U-Boot/m-p/1095430#M160458</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-05-18T04:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: IMX7D MIPI Display U-Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX7D-MIPI-Display-U-Boot/m-p/1095431#M160459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the setup code I've got, good to know it's the correct version. Is there a working example of this on an IMX7D?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see on the example in imx8mm_evk.c that before calling the setup function, these functions are run&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* enable the dispmix &amp;amp; mipi phy power domain */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;call_imx_sip(FSL_SIP_GPC, FSL_SIP_CONFIG_GPC_PM_DOMAIN, DISPMIX, true, 0);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;call_imx_sip(FSL_SIP_GPC, FSL_SIP_CONFIG_GPC_PM_DOMAIN, MIPI, true, 0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;/* Put lcdif out of reset */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;disp_mix_bus_rstn_reset(imx8mm_mipi_dsim_plat_data.gpr_base, false);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;disp_mix_lcdif_clks_enable(imx8mm_mipi_dsim_plat_data.gpr_base, true);&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;Are there equivalents for the IMX7D?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What clocks and power domains do I need to enable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2020 05:27:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX7D-MIPI-Display-U-Boot/m-p/1095431#M160459</guid>
      <dc:creator>nicholash</dc:creator>
      <dc:date>2020-05-18T05:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: IMX7D MIPI Display U-Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX7D-MIPI-Display-U-Boot/m-p/1095432#M160460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nick&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;unfortunately nxp does not officially supports uboot mipi-dsi on i.MX7D, sorry.&lt;/P&gt;&lt;P&gt;Help with porting can be provided with &lt;A class="link-titled" href="https://www.nxp.com/support/support/nxp-engineering-services:SW-SUPPORT" title="https://www.nxp.com/support/support/nxp-engineering-services:SW-SUPPORT"&gt;Commercial Support and Engineering Services | NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2020 07:18:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX7D-MIPI-Display-U-Boot/m-p/1095432#M160460</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-05-18T07:18:40Z</dc:date>
    </item>
  </channel>
</rss>

