<?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 Interfacing i.mx8 mini (SOM) with LCD in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Interfacing-i-mx8-mini-SOM-with-LCD/m-p/1156020#M162169</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am working on a project using Variscite's Dart mx8m mini board and have to interface a LCD which has&lt;/P&gt;&lt;P&gt;Make:- YOURI&lt;/P&gt;&lt;P&gt;Model:- ET020HV03-OT&lt;/P&gt;&lt;P&gt;LCD Driver IC :- ST7796S&lt;/P&gt;&lt;P&gt;I am going to use yocto version ZEUS (Kernel version 5.4.3) and MIPI DSI to interface LCD to imx board.&lt;/P&gt;&lt;P&gt;What are the steps that I should follow to get my LCD working? Because I am new to linux and have very minimal idea about it.&lt;/P&gt;&lt;P&gt;Do I have to write some custom driver code for LCD and if yes, can I get some reference for it?&lt;/P&gt;&lt;P&gt;Also if there is any document that can be helpful please suggest.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Sep 2020 06:22:16 GMT</pubDate>
    <dc:creator>purendra_singh</dc:creator>
    <dc:date>2020-09-21T06:22:16Z</dc:date>
    <item>
      <title>Interfacing i.mx8 mini (SOM) with LCD</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Interfacing-i-mx8-mini-SOM-with-LCD/m-p/1156020#M162169</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am working on a project using Variscite's Dart mx8m mini board and have to interface a LCD which has&lt;/P&gt;&lt;P&gt;Make:- YOURI&lt;/P&gt;&lt;P&gt;Model:- ET020HV03-OT&lt;/P&gt;&lt;P&gt;LCD Driver IC :- ST7796S&lt;/P&gt;&lt;P&gt;I am going to use yocto version ZEUS (Kernel version 5.4.3) and MIPI DSI to interface LCD to imx board.&lt;/P&gt;&lt;P&gt;What are the steps that I should follow to get my LCD working? Because I am new to linux and have very minimal idea about it.&lt;/P&gt;&lt;P&gt;Do I have to write some custom driver code for LCD and if yes, can I get some reference for it?&lt;/P&gt;&lt;P&gt;Also if there is any document that can be helpful please suggest.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 06:22:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Interfacing-i-mx8-mini-SOM-with-LCD/m-p/1156020#M162169</guid>
      <dc:creator>purendra_singh</dc:creator>
      <dc:date>2020-09-21T06:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Interfacing i.mx8 mini (SOM) with LCD</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Interfacing-i-mx8-mini-SOM-with-LCD/m-p/1156167#M162184</link>
      <description>&lt;P&gt;Hi purendra_singh&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for new MIPI-DSI lcd one can start with imx8mm-evk-rm67191.dts&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/imx8mm-evk-rm67191.dts?h=imx_5.4.24_2.1.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/imx8mm-evk-rm67191.dts?h=imx_5.4.24_2.1.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;add specific for that lcd initialization in driver : struct cmd_set_entry manufacturer_cmd_set[],&lt;/P&gt;
&lt;P&gt;timings in struct drm_display_mode default_mode &lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/gpu/drm/panel/panel-raydium-rm67191.c?h=imx_5.4.24_2.1.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/gpu/drm/panel/panel-raydium-rm67191.c?h=imx_5.4.24_2.1.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 09:23:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Interfacing-i-mx8-mini-SOM-with-LCD/m-p/1156167#M162184</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-09-21T09:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Interfacing i.mx8 mini (SOM) with LCD</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Interfacing-i-mx8-mini-SOM-with-LCD/m-p/1158556#M162463</link>
      <description>&lt;P&gt;Thanks Igor&lt;/P&gt;&lt;P&gt;I have been provided initialization sequence for the LCD by vendor. When I went through the ST7796s driver's datasheet and matched the sequence I found out that&lt;/P&gt;&lt;P&gt;1.VFP (Vertical front porch):- 0x08&lt;/P&gt;&lt;P&gt;2.VBP (Vertical back porch):- 0x08&lt;/P&gt;&lt;P&gt;3.HBP (Horizontal Back porch):- 0x64&lt;/P&gt;&lt;P&gt;have been set in the sequence by using the command &lt;STRONG&gt;BPC(B5): Blanking Porch Control &lt;/STRONG&gt;but didn't get &lt;STRONG&gt;Horizontal front porch value, hsync_len and vsync_len&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;I am taking reference from below link to calculate the pixel clock :-&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Setting-i-MX8M-Mini-and-Nano-MIPI-DPHY-Clock/ta-p/1104457" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Setting-i-MX8M-Mini-and-Nano-MIPI-DPHY-Clock/ta-p/1104457&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also I have got the table below, can I take &lt;STRONG&gt;Horizontal front porch value, hsync_len and vsync_len &lt;/STRONG&gt;from this table. Which values should I take ? Please suggest.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard-image.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/126088i7099607F9F0888AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="clipboard-image.png" alt="clipboard-image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 09:16:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Interfacing-i-mx8-mini-SOM-with-LCD/m-p/1158556#M162463</guid>
      <dc:creator>purendra_singh</dc:creator>
      <dc:date>2020-09-24T09:16:01Z</dc:date>
    </item>
  </channel>
</rss>

