<?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: Retain GPIO5_IO13 value when switching from U-Boot to Linux Kernel</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Retain-GPIO5-IO13-value-when-switching-from-U-Boot-to-Linux/m-p/1190564#M165671</link>
    <description>&lt;P&gt;Dear Igor,&lt;/P&gt;&lt;P&gt;Thanks for the information.&lt;/P&gt;&lt;P&gt;Nissim&lt;/P&gt;</description>
    <pubDate>Sun, 29 Nov 2020 14:23:13 GMT</pubDate>
    <dc:creator>nissim_alcon</dc:creator>
    <dc:date>2020-11-29T14:23:13Z</dc:date>
    <item>
      <title>Retain GPIO5_IO13 value when switching from U-Boot to Linux Kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Retain-GPIO5-IO13-value-when-switching-from-U-Boot-to-Linux/m-p/1166073#M163317</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I am using the Variscite's&amp;nbsp;&lt;SPAN&gt;VAR-SOM-SOLO/DUAL which is based on the&amp;nbsp;&lt;/SPAN&gt;I.MX6 Solo&amp;nbsp;processor. In addition,&amp;nbsp;Yocto (&lt;SPAN&gt;Thud kernel 4.14.78) is being used as the OS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I wish to use GPIO5_IO13 as General purpose output pin from the moment the U-Boot starts.&amp;nbsp;For that matter several changes were made as follows:&lt;/P&gt;&lt;P&gt;1. U-Boot: configure the GPIO5 IO13 to be output with 100K pullup resistor&lt;/P&gt;&lt;P&gt;2. Kernel device tree: in imx6qdl-var-som.dtsi add the following line to iomux pinctrl_hog group:&amp;nbsp; MX6QDL_PAD_DISP0_DAT19__GPIO5_IO13&amp;nbsp; 0x80000000&lt;/P&gt;&lt;P&gt;As far as i know,&amp;nbsp;0x80000000 instruct the iomux kernel driver to ignore the configuration of the bin and by that leave the configuration with the values that were configured in the U-boot.&lt;/P&gt;&lt;P&gt;By using a scope i can see that the GPIO drops to low and goes back to high when kernel starts.&lt;/P&gt;&lt;P&gt;Please advise,&lt;/P&gt;&lt;P&gt;Nissim&lt;/P&gt;&lt;P&gt;Nissim&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 12:55:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Retain-GPIO5-IO13-value-when-switching-from-U-Boot-to-Linux/m-p/1166073#M163317</guid>
      <dc:creator>nissim_alcon</dc:creator>
      <dc:date>2020-10-12T12:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Retain GPIO5_IO13 value when switching from U-Boot to Linux Kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Retain-GPIO5-IO13-value-when-switching-from-U-Boot-to-Linux/m-p/1166344#M163353</link>
      <description>&lt;P&gt;Hi Nissim&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in general your understanding is correct, 0x80000000 means pad configuration should be&lt;/P&gt;
&lt;P&gt;derived from uboot. One can try to debug this behaviour, which may be specific for that board,&lt;/P&gt;
&lt;P&gt;probably this signal is used by other board peripheral, use AN4553 Using Open&lt;/P&gt;
&lt;P&gt;Source Debugging Tools for Linux on i.MX Processors:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN4553.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN4553.pdf&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>Tue, 13 Oct 2020 00:09:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Retain-GPIO5-IO13-value-when-switching-from-U-Boot-to-Linux/m-p/1166344#M163353</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-10-13T00:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Retain GPIO5_IO13 value when switching from U-Boot to Linux Kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Retain-GPIO5-IO13-value-when-switching-from-U-Boot-to-Linux/m-p/1190564#M165671</link>
      <description>&lt;P&gt;Dear Igor,&lt;/P&gt;&lt;P&gt;Thanks for the information.&lt;/P&gt;&lt;P&gt;Nissim&lt;/P&gt;</description>
      <pubDate>Sun, 29 Nov 2020 14:23:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Retain-GPIO5-IO13-value-when-switching-from-U-Boot-to-Linux/m-p/1190564#M165671</guid>
      <dc:creator>nissim_alcon</dc:creator>
      <dc:date>2020-11-29T14:23:13Z</dc:date>
    </item>
  </channel>
</rss>

