<?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 i.MX35 Setting SD2 gpio to pull up in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX35-Setting-SD2-gpio-to-pull-up/m-p/1133002#M160908</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm trying to activate a new input on my i.MX35 device MX35_PAD_SD2_DATA3__GPIO2_4 and activating the pull up mode to this input.&lt;/P&gt;&lt;P&gt;But I'm a bit confused with the device tree configuration :&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;gpio_exporter: gpio-exporter {&lt;BR /&gt;compatible = "linux,gpio-exporter";&lt;BR /&gt;pinctrl-names = "default";&lt;BR /&gt;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_gpio_exporter&amp;gt;;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;GPIO_IN {&lt;BR /&gt;gpios = &amp;lt;&amp;amp;gpio3 13 GPIO_ACTIVE_HIGH&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;GPIO_OUT {&lt;BR /&gt;gpios = &amp;lt;&amp;amp;gpio3 12 GPIO_ACTIVE_HIGH&amp;gt;;&lt;BR /&gt;output;&lt;BR /&gt;initial-state = &amp;lt;0&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;...&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;GPIO_NEWINPUT {&lt;BR /&gt;gpios = &amp;lt;&amp;amp;gpio2 4 GPIO_ACTIVE_HIGH&amp;gt;;&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;pinctrl_gpio_exporter: gpioexportergrp {&lt;BR /&gt;fsl,pins = &amp;lt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;MX35_PAD_RTS2__GPIO3_12 0x80000000&lt;BR /&gt;MX35_PAD_CTS2__GPIO3_13 0x80000000&lt;BR /&gt;...&lt;BR /&gt;MX35_PAD_SD2_DATA2__GPIO2_4 0x80000000&lt;BR /&gt;&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;Others GPIOs use the 0x80000000 value but what is it's meaning?&lt;/P&gt;&lt;P&gt;I have take a look to Table 301: Register: IOMUXC_SW_MUX_CTL_PAD_SD2_DATA2 but this subject is not clear enough for me.&lt;/P&gt;&lt;P&gt;I also have check in my include/dt-bindings/gpio/gpio.h file and no reference to pull up configuration.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Sep 2020 08:54:34 GMT</pubDate>
    <dc:creator>frk</dc:creator>
    <dc:date>2020-09-01T08:54:34Z</dc:date>
    <item>
      <title>i.MX35 Setting SD2 gpio to pull up</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX35-Setting-SD2-gpio-to-pull-up/m-p/1133002#M160908</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm trying to activate a new input on my i.MX35 device MX35_PAD_SD2_DATA3__GPIO2_4 and activating the pull up mode to this input.&lt;/P&gt;&lt;P&gt;But I'm a bit confused with the device tree configuration :&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;gpio_exporter: gpio-exporter {&lt;BR /&gt;compatible = "linux,gpio-exporter";&lt;BR /&gt;pinctrl-names = "default";&lt;BR /&gt;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_gpio_exporter&amp;gt;;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;GPIO_IN {&lt;BR /&gt;gpios = &amp;lt;&amp;amp;gpio3 13 GPIO_ACTIVE_HIGH&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;GPIO_OUT {&lt;BR /&gt;gpios = &amp;lt;&amp;amp;gpio3 12 GPIO_ACTIVE_HIGH&amp;gt;;&lt;BR /&gt;output;&lt;BR /&gt;initial-state = &amp;lt;0&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;...&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;GPIO_NEWINPUT {&lt;BR /&gt;gpios = &amp;lt;&amp;amp;gpio2 4 GPIO_ACTIVE_HIGH&amp;gt;;&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;pinctrl_gpio_exporter: gpioexportergrp {&lt;BR /&gt;fsl,pins = &amp;lt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;MX35_PAD_RTS2__GPIO3_12 0x80000000&lt;BR /&gt;MX35_PAD_CTS2__GPIO3_13 0x80000000&lt;BR /&gt;...&lt;BR /&gt;MX35_PAD_SD2_DATA2__GPIO2_4 0x80000000&lt;BR /&gt;&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;Others GPIOs use the 0x80000000 value but what is it's meaning?&lt;/P&gt;&lt;P&gt;I have take a look to Table 301: Register: IOMUXC_SW_MUX_CTL_PAD_SD2_DATA2 but this subject is not clear enough for me.&lt;/P&gt;&lt;P&gt;I also have check in my include/dt-bindings/gpio/gpio.h file and no reference to pull up configuration.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2020 08:54:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX35-Setting-SD2-gpio-to-pull-up/m-p/1133002#M160908</guid>
      <dc:creator>frk</dc:creator>
      <dc:date>2020-09-01T08:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX35 Setting SD2 gpio to pull up</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX35-Setting-SD2-gpio-to-pull-up/m-p/1133051#M160918</link>
      <description>&lt;P&gt;Hi frk&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;0x80000000 means that settings are inherited from uboot ( pin does not need config.)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/Documentation/devicetree/bindings/pinctrl/fsl,imx-pinctrl.txt?h=imx_5.4.24_2.1.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/Documentation/devicetree/bindings/pinctrl/fsl,imx-pinctrl.txt?h=imx_5.4.24_2.1.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;More details can be found in AN5078&lt;/P&gt;
&lt;P&gt;&lt;A id="relatedDocsClick_6" href="https://www.nxp.com/docs/en/application-note/AN5078.pdf" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Influence of Pin Setting on System Function and Performance&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Field "PULL_KEEP_CTL" Register: IOMUXC_SW_PAD_CTL_PAD_SD2_DATA3 configures&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;pull settings, described on p.2900&amp;nbsp; &lt;A id="relatedDocsClick_1" href="https://www.nxp.com/docs/en/reference-manual/IMX35RM.pdf" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;i.MX35 (MCIMX35) Multimedia Applications Processor Reference&lt;/STRONG&gt;&lt;/A&gt;&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;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2020 11:00:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX35-Setting-SD2-gpio-to-pull-up/m-p/1133051#M160918</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-09-01T11:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX35 Setting SD2 gpio to pull up</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX35-Setting-SD2-gpio-to-pull-up/m-p/1133054#M160919</link>
      <description>&lt;P&gt;So if 0x80000000 is used and nothing come from the bootloader, state can be considered as unknown/invalid?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll check the documentation, AN5078 seems pretty usefull.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2020 11:11:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX35-Setting-SD2-gpio-to-pull-up/m-p/1133054#M160919</guid>
      <dc:creator>frk</dc:creator>
      <dc:date>2020-09-01T11:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX35 Setting SD2 gpio to pull up</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX35-Setting-SD2-gpio-to-pull-up/m-p/1133079#M160924</link>
      <description>&lt;P&gt;&amp;gt;&lt;SPAN&gt;So if 0x80000000 is used and nothing come from the bootloader, state can be considered as unknown/invalid?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it is set as default state (after reset)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;~igor&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2020 12:45:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX35-Setting-SD2-gpio-to-pull-up/m-p/1133079#M160924</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-09-01T12:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX35 Setting SD2 gpio to pull up</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX35-Setting-SD2-gpio-to-pull-up/m-p/1133128#M160938</link>
      <description>&lt;P&gt;Thanks for your support.&lt;/P&gt;&lt;P&gt;Things are clearer now.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2020 14:12:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX35-Setting-SD2-gpio-to-pull-up/m-p/1133128#M160938</guid>
      <dc:creator>frk</dc:creator>
      <dc:date>2020-09-01T14:12:30Z</dc:date>
    </item>
  </channel>
</rss>

