<?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: MIPI Display in IMX7 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/MIPI-Display-in-IMX7/m-p/679275#M104874</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gopinath&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for Nitrogen 7 IMX7 board please rebuild image using boundary devices sources&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/boundarydevices/linux-imx6/blob/boundary-imx_4.1.15_2.0.0_ga/arch/arm/boot/dts/imx7d-nitrogen7.dts" title="https://github.com/boundarydevices/linux-imx6/blob/boundary-imx_4.1.15_2.0.0_ga/arch/arm/boot/dts/imx7d-nitrogen7.dts"&gt;linux-imx6/imx7d-nitrogen7.dts at boundary-imx_4.1.15_2.0.0_ga · boundarydevices/linux-imx6 · GitHub&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>Sat, 22 Jul 2017 00:50:48 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2017-07-22T00:50:48Z</dc:date>
    <item>
      <title>MIPI Display in IMX7</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MIPI-Display-in-IMX7/m-p/679274#M104873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working on MIPI display support in Nitrogen 7 IMX7 board. I have added MIPI driver and DTS support. I have followed below link for DTS and driver.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DTB -&amp;nbsp;&lt;A class="link-titled" href="http://git.freescale.com/git/cgit.cgi/imx/linux-imx.git/tree/arch/arm/boot/dts/imx7d-sdb-mipi-dsi.dts?id=rel_imx_4.1.15_2.0.0_ga" title="http://git.freescale.com/git/cgit.cgi/imx/linux-imx.git/tree/arch/arm/boot/dts/imx7d-sdb-mipi-dsi.dts?id=rel_imx_4.1.15_2.0.0_ga"&gt;linux-imx.git - i.MX Linux Kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Driver -&lt;A data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fgit.freescale.com%2Fgit%2Fcgit.cgi%2Fimx%2Flinux-imx.git%2Ftree%2Fdrivers%2Fvideo%2Ffbdev%2Fmxc%2Fmipi_dsi.c%3Fid%3Drel_imx_4.1.15_2.0.0_ga" rel="nofollow" style="color: #5e89c1; background-color: #ffffff; border: 0px; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;linux-imx.git - i.MX Linux Kernel&lt;/A&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;But I am getting below error message.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;STRONG&gt;[ 0.958189] &amp;nbsp;MIPI DSI driver module loaded&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;[ 1.040938] mxsfb 30730000.lcdif: failed to find mxc display driver mipi_dsi&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;[ 2.417556] mipi_dsi_pwr_on: disabling&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Can you please tell me what I am missing?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thank You&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Gopinath S&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 11:49:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MIPI-Display-in-IMX7/m-p/679274#M104873</guid>
      <dc:creator>gopinathsriniva</dc:creator>
      <dc:date>2017-07-21T11:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: MIPI Display in IMX7</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MIPI-Display-in-IMX7/m-p/679275#M104874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gopinath&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for Nitrogen 7 IMX7 board please rebuild image using boundary devices sources&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/boundarydevices/linux-imx6/blob/boundary-imx_4.1.15_2.0.0_ga/arch/arm/boot/dts/imx7d-nitrogen7.dts" title="https://github.com/boundarydevices/linux-imx6/blob/boundary-imx_4.1.15_2.0.0_ga/arch/arm/boot/dts/imx7d-nitrogen7.dts"&gt;linux-imx6/imx7d-nitrogen7.dts at boundary-imx_4.1.15_2.0.0_ga · boundarydevices/linux-imx6 · GitHub&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>Sat, 22 Jul 2017 00:50:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MIPI-Display-in-IMX7/m-p/679275#M104874</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-07-22T00:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: MIPI Display in IMX7</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MIPI-Display-in-IMX7/m-p/679276#M104875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used the Nitrogen board kernel and added the MIPI DSI support. Now my MIPI driver probe call is coming. During this call, I am getting a kernel crash when I traced the problem I found out, it is happening in the below line of linux-imx6/drivers/videofbdev/mxc/mipi_dsi.c MIPI driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;STRONG&gt;mux = mipi_dsi-&amp;gt;bus_mux-&amp;gt;get_mux(dev_id, disp_id);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason is, below function is not implemented for IMX7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;static struct mipi_dsi_bus_mux imx6dl_mipi_dsi_mux[] = {&lt;BR /&gt; {&lt;BR /&gt; .reg = IOMUXC_GPR3,&lt;BR /&gt; .mask = IMX6Q_GPR3_MIPI_MUX_CTL_MASK,&lt;BR /&gt; .get_mux = imx6dl_mipi_dsi_get_mux,&lt;BR /&gt; },&lt;BR /&gt;};&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The values are defined in include/linux/mfd/syscon folder in the file&amp;nbsp;imx6q-iomuxc-gpr.h&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define IMX6Q_GPR3_MIPI_MUX_CTL_MASK&lt;SPAN class=""&gt; &lt;/SPAN&gt;(0x3 &amp;lt;&amp;lt; 4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in&amp;nbsp;imx7-iomuxc-gpr.h file, values for MIPI GPR3 are not defined.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the content of&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;imx7-iomuxc-gpr.h file.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;/*&lt;BR /&gt; * Copyright (C) 2015 Freescale Semiconductor, Inc.&lt;BR /&gt; *&lt;BR /&gt; * This program is free software; you can redistribute it and/or modify&lt;BR /&gt; * it under the terms of the GNU General Public License version 2 as&lt;BR /&gt; * published by the Free Software Foundation.&lt;BR /&gt; */&lt;/P&gt;&lt;P&gt;#ifndef __LINUX_IMX7_IOMUXC_GPR_H&lt;BR /&gt;#define __LINUX_IMX7_IOMUXC_GPR_H&lt;/P&gt;&lt;P&gt;#include &amp;lt;linux/bitops.h&amp;gt;&lt;/P&gt;&lt;P&gt;#define IOMUXC_GPR0 0x00&lt;BR /&gt;#define IOMUXC_GPR1 0x04&lt;BR /&gt;#define IOMUXC_GPR2 0x08&lt;BR /&gt;#define IOMUXC_GPR3 0x0c&lt;BR /&gt;#define IOMUXC_GPR4 0x10&lt;BR /&gt;#define IOMUXC_GPR5 0x14&lt;BR /&gt;#define IOMUXC_GPR6 0x18&lt;BR /&gt;#define IOMUXC_GPR7 0x1c&lt;BR /&gt;#define IOMUXC_GPR8 0x20&lt;BR /&gt;#define IOMUXC_GPR9 0x24&lt;BR /&gt;#define IOMUXC_GPR10 0x28&lt;BR /&gt;#define IOMUXC_GPR11 0x2c&lt;BR /&gt;#define IOMUXC_GPR12 0x30&lt;BR /&gt;#define IOMUXC_GPR13 0x34&lt;BR /&gt;#define IOMUXC_GPR14 0x38&lt;BR /&gt;#define IOMUXC_GPR15 0x3c&lt;BR /&gt;#define IOMUXC_GPR16 0x40&lt;BR /&gt;#define IOMUXC_GPR17 0x44&lt;BR /&gt;#define IOMUXC_GPR18 0x48&lt;BR /&gt;#define IOMUXC_GPR19 0x4c&lt;BR /&gt;#define IOMUXC_GPR20 0x50&lt;BR /&gt;#define IOMUXC_GPR21 0x54&lt;BR /&gt;#define IOMUXC_GPR22 0x58&lt;/P&gt;&lt;P&gt;/* For imx7d iomux gpr register field define */&lt;BR /&gt;#define IMX7D_GPR0_ENET_MDIO_OPEN_DRAIN_MASK (0x3 &amp;lt;&amp;lt; 7)&lt;/P&gt;&lt;P&gt;#define IMX7D_GPR1_IRQ_MASK (0x1 &amp;lt;&amp;lt; 12)&lt;BR /&gt;#define IMX7D_GPR1_ENET1_TX_CLK_SEL_MASK (0x1 &amp;lt;&amp;lt; 13)&lt;BR /&gt;#define IMX7D_GPR1_ENET2_TX_CLK_SEL_MASK (0x1 &amp;lt;&amp;lt; 14)&lt;BR /&gt;#define IMX7D_GPR1_ENET_TX_CLK_SEL_MASK (0x3 &amp;lt;&amp;lt; 13)&lt;BR /&gt;#define IMX7D_GPR1_ENET1_CLK_DIR_MASK (0x1 &amp;lt;&amp;lt; 17)&lt;BR /&gt;#define IMX7D_GPR1_ENET2_CLK_DIR_MASK (0x1 &amp;lt;&amp;lt; 18)&lt;BR /&gt;#define IMX7D_GPR1_ENET_CLK_DIR_MASK (0x3 &amp;lt;&amp;lt; 17)&lt;/P&gt;&lt;P&gt;#define IMX7D_GPR5_CSI_MUX_CONTROL_MIPI (0x1 &amp;lt;&amp;lt; 4)&lt;/P&gt;&lt;P&gt;#endif /* __LINUX_IMX7_IOMUXC_GPR_H */&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May I ask you, what is the purpose of below code block in MIPI DSI driver? Is this code block is needed for MIPI DSI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;STRONG&gt;mipi_dsi-&amp;gt;regmap = syscon_regmap_lookup_by_phandle(np, "gpr");&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; if (IS_ERR(mipi_dsi-&amp;gt;regmap)) {&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; dev_err(&amp;amp;pdev-&amp;gt;dev, "failed to get parent regmap\n");&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; ret = PTR_ERR(mipi_dsi-&amp;gt;regmap);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; goto get_parent_regmap_fail;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; }&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;mux = mipi_dsi-&amp;gt;bus_mux-&amp;gt;get_mux(dev_id, disp_id);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mipi_dsi-&amp;gt;lcd_panel = kstrdup(lcd_panel, GFP_KERNEL);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; if (!mipi_dsi-&amp;gt;lcd_panel) {&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; dev_err(&amp;amp;pdev-&amp;gt;dev, "failed to allocate lcd panel name\n");&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; ret = -ENOMEM;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; goto kstrdup_fail;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; }&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And how can I define equivalent value for&amp;nbsp;&lt;SPAN&gt;IMX6Q_GPR3_MIPI_MUX_CTL_MASK and&amp;nbsp;IOMUXC_GPR3&lt;/SPAN&gt;&amp;nbsp;in IMX7?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know your suggestions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 15:19:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MIPI-Display-in-IMX7/m-p/679276#M104875</guid>
      <dc:creator>gopinathsriniva</dc:creator>
      <dc:date>2017-07-25T15:19:43Z</dc:date>
    </item>
  </channel>
</rss>

