<?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: DTS devicetree lcdif reset config</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/DTS-devicetree-lcdif-reset-config-SOLVED/m-p/775468#M120391</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eLCDIF driver is described in Chapter 12 ELCDIF Frame Buffer Driver&lt;/P&gt;&lt;P&gt;attached Linux Manual and according to its sources there is no option for&lt;/P&gt;&lt;P&gt;reset with dts. It is documented in Linux/Documentation/devicetree/bindings/fb/mxsfb.txt&lt;/P&gt;&lt;P&gt;Reset is performed in uboot/board/../mx6ullevk/mx6ullevk.c file&lt;/P&gt;&lt;P&gt;function do_enable_parallel_lcd().&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>Tue, 27 Feb 2018 03:19:50 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2018-02-27T03:19:50Z</dc:date>
    <item>
      <title>DTS devicetree lcdif reset config [SOLVED]</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DTS-devicetree-lcdif-reset-config-SOLVED/m-p/775467#M120390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Running now my custom IMX^ULL board with attached lcd display. Compared to the imx6 EVK I had to re-configure some of the I/O pin configuration. Plus I removed some obsolete functionality from the DTS configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing I cannot warp my had around is how to properly set the LCD RESET pin.&lt;/P&gt;&lt;P&gt;Opted for using GPIO_3_4 on this board and editing the imx6ull-14x14-evk.dts file. Especially the pinctrl_lcdif_reset: lcdifresetgrp&amp;nbsp; group is giving me some headache: I tried to setup the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pinctrl_lcdif_reset: lcdifresetgrp {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; fsl,pins = &amp;lt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MX6UL_PAD_LCD_RESET__GPIO3_IO04 0x79 !!if enabled lcd NOT working&lt;BR /&gt; &amp;nbsp; &amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;pinctrl_lcdif_reset: lcdifresetgrp {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; fsl,pins = &amp;lt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MX6UL_PAD_LCD_RESET__LCDIF_RESET 0x79 !!if enabled lcd NOT working&lt;BR /&gt;&amp;nbsp; &amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both cases the GPU is not started with that configuration. I see the following error message in the syslog:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; imx6ul-pinctrl 2290000.iomuxc-snvs: failed to get pin(69) name&lt;BR /&gt;&amp;nbsp;&amp;nbsp; pinconfig core: failed to register map default (1): no group/pin given &lt;BR /&gt;&amp;nbsp;&amp;nbsp; mxsfb: probe of 21c8000.lcdif failed with error -22&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a result the lcd display is not updated.&lt;/P&gt;&lt;P&gt;If I remove the lcdif reset group, the display works fine though&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any clues on how to spec GPIO3_4 for the lcdif reset group?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 01:31:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DTS-devicetree-lcdif-reset-config-SOLVED/m-p/775467#M120390</guid>
      <dc:creator>matkattanek</dc:creator>
      <dc:date>2018-02-27T01:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: DTS devicetree lcdif reset config</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DTS-devicetree-lcdif-reset-config-SOLVED/m-p/775468#M120391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eLCDIF driver is described in Chapter 12 ELCDIF Frame Buffer Driver&lt;/P&gt;&lt;P&gt;attached Linux Manual and according to its sources there is no option for&lt;/P&gt;&lt;P&gt;reset with dts. It is documented in Linux/Documentation/devicetree/bindings/fb/mxsfb.txt&lt;/P&gt;&lt;P&gt;Reset is performed in uboot/board/../mx6ullevk/mx6ullevk.c file&lt;/P&gt;&lt;P&gt;function do_enable_parallel_lcd().&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>Tue, 27 Feb 2018 03:19:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DTS-devicetree-lcdif-reset-config-SOLVED/m-p/775468#M120391</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-02-27T03:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: DTS devicetree lcdif reset config</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DTS-devicetree-lcdif-reset-config-SOLVED/m-p/775469#M120392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interesting point, maybe reset is not used/needed with the kernel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But interestingly if one looks at the 'original' sample that is provided for the IMX6ul and IMX6ull evk board, it instruments the following. Here the original unmodified sample from imx6ull-14x14-evk.dts:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;pinctrl_lcdif_reset: lcdifresetgrp {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; fsl,pins = &amp;lt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* used for lcd reset */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MX6ULL_PAD_SNVS_TAMPER9__GPIO5_IO09 0x79&lt;BR /&gt;&amp;nbsp; &amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;lcdif {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;pinctrl-names = "default";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_lcdif_dat&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;pinctrl_lcdif_ctrl&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;pinctrl_lcdif_reset&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;display = &amp;lt;&amp;amp;display0&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;status = "okay";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;display0: display@0 {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;bits-per-pixel = &amp;lt;16&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;bus-width = &amp;lt;24&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;display-timings {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;native-mode = &amp;lt;&amp;amp;timing0&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;timing0: timing0 {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;clock-frequency = &amp;lt;9200000&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;hactive = &amp;lt;480&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;vactive = &amp;lt;272&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;hfront-porch = &amp;lt;8&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;hback-porch = &amp;lt;4&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;hsync-len = &amp;lt;41&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;vback-porch = &amp;lt;2&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;vfront-porch = &amp;lt;4&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;vsync-len = &amp;lt;10&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;hsync-active = &amp;lt;0&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;vsync-active = &amp;lt;0&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;de-active = &amp;lt;1&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pixelclk-active = &amp;lt;0&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;};&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;};&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;};&lt;BR /&gt;};&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe the documentation is not up to snuff?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS:&lt;/P&gt;&lt;P&gt;if I build the kernel with the above I/O pin, it builds just fine and I do not get any error message.&lt;/P&gt;&lt;P&gt;It almost seems like when the line starts with "MX6UL_PAD_LCD_RESET__" I get an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 19:45:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DTS-devicetree-lcdif-reset-config-SOLVED/m-p/775469#M120392</guid>
      <dc:creator>matkattanek</dc:creator>
      <dc:date>2018-02-27T19:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: DTS devicetree lcdif reset config</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DTS-devicetree-lcdif-reset-config-SOLVED/m-p/775470#M120393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finally came to conclude what is wrong:&amp;nbsp; The IMX6ULL DTS&amp;nbsp; 'pinctrl_lcdif_reset: lcdifresetgrp' sample is not supported by the 4.9.11 kernel. I finally changed the DTS configuration and added the reset definition to the 'lcd control group' instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;pinctrl_lcdif_ctrl: lcdifctrlgrp {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; fsl,pins = &amp;lt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MX6UL_PAD_LCD_CLK__LCDIF_CLK 0x79&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MX6UL_PAD_LCD_ENABLE__LCDIF_ENABLE 0x79&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MX6UL_PAD_LCD_HSYNC__LCDIF_HSYNC 0x79&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MX6UL_PAD_LCD_VSYNC__LCDIF_VSYNC 0x79&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MX6UL_PAD_LCD_RESET__LCDIF_RESET 0x79&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you&amp;nbsp; rather want the pin being pulled up at kernel start, change to the following line:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MX6UL_PAD_LCD_RESET__GPIO3_IO04 0x79&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: See as well IMX6UL sample imx6ul-14x14-evk.dts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 19:49:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DTS-devicetree-lcdif-reset-config-SOLVED/m-p/775470#M120393</guid>
      <dc:creator>matkattanek</dc:creator>
      <dc:date>2018-02-28T19:49:15Z</dc:date>
    </item>
  </channel>
</rss>

