<?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: setting GPIO</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/setting-GPIO/m-p/1485508#M192244</link>
    <description>&lt;P&gt;Yes, I solved it. I think it was in uboot.&amp;nbsp; I think I had to enable hog on the CONFIG for uboot.&lt;/P&gt;&lt;P&gt;file:&amp;nbsp; configs/nitrogen8mm_4g_defconfig b/configs/nitrogen8mm_4g_defconfig&lt;/P&gt;&lt;P&gt;change:&amp;nbsp; CONFIG_GPIO_HOG=y&lt;/P&gt;&lt;P&gt;I was told this was off by default.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, of course, I had to include the pinctrl settings for my pins in a hog node in my uboot dts file.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jul 2022 15:02:58 GMT</pubDate>
    <dc:creator>ddeyo1</dc:creator>
    <dc:date>2022-07-06T15:02:58Z</dc:date>
    <item>
      <title>setting GPIO</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/setting-GPIO/m-p/1427063#M188122</link>
      <description>&lt;P&gt;I am using an iMX8mm SOM from Boundary that initially had gpio2 configured for usdhc1&amp;nbsp; emmc interface and usdhc2 for the sdcard.&amp;nbsp; We are using emmc but not sdcard.&lt;/P&gt;&lt;P&gt;I have been able to reconfigure all of my other gpio ports and pins and all of them work except for all of the usdhc2 pins.&amp;nbsp; I've removed the usdhc2 node from my device tree and I no longer get a clock on SD2_CLK.&lt;/P&gt;&lt;P&gt;However when I export gpio 45 (gpio2 13), change the direction to output and set the value to 1, my pin stays low.&lt;/P&gt;&lt;P&gt;Is there anything that would prevent a pin mux change for usdhc?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I should add that I have also added gpio14 and gpio15 and my pinctrl settings are the same as my working pins.&amp;nbsp; None of the usdhc2 pins can be changed.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 20:41:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/setting-GPIO/m-p/1427063#M188122</guid>
      <dc:creator>ddeyo1</dc:creator>
      <dc:date>2022-03-11T20:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: setting GPIO</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/setting-GPIO/m-p/1427279#M188140</link>
      <description>&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Mar 2022 13:04:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/setting-GPIO/m-p/1427279#M188140</guid>
      <dc:creator>josephzhou1</dc:creator>
      <dc:date>2022-03-12T13:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: setting GPIO</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/setting-GPIO/m-p/1427282#M188141</link>
      <description>&lt;P&gt;Did you have a question or answer?&lt;/P&gt;&lt;P&gt;-dwd&lt;/P&gt;</description>
      <pubDate>Sat, 12 Mar 2022 15:25:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/setting-GPIO/m-p/1427282#M188141</guid>
      <dc:creator>ddeyo1</dc:creator>
      <dc:date>2022-03-12T15:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: setting GPIO</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/setting-GPIO/m-p/1427520#M188160</link>
      <description>&lt;P&gt;Probably the pins are also configured in the uboot, there is a .c file for your board initialization, you can take a look there.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 06:52:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/setting-GPIO/m-p/1427520#M188160</guid>
      <dc:creator>disheng</dc:creator>
      <dc:date>2022-03-14T06:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: setting GPIO</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/setting-GPIO/m-p/1485257#M192233</link>
      <description>&lt;P&gt;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/183793" target="_self"&gt;&lt;SPAN class=""&gt;ddeyo1&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have the same problem, have you solved it&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 09:22:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/setting-GPIO/m-p/1485257#M192233</guid>
      <dc:creator>Kecy</dc:creator>
      <dc:date>2022-07-06T09:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: setting GPIO</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/setting-GPIO/m-p/1485508#M192244</link>
      <description>&lt;P&gt;Yes, I solved it. I think it was in uboot.&amp;nbsp; I think I had to enable hog on the CONFIG for uboot.&lt;/P&gt;&lt;P&gt;file:&amp;nbsp; configs/nitrogen8mm_4g_defconfig b/configs/nitrogen8mm_4g_defconfig&lt;/P&gt;&lt;P&gt;change:&amp;nbsp; CONFIG_GPIO_HOG=y&lt;/P&gt;&lt;P&gt;I was told this was off by default.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, of course, I had to include the pinctrl settings for my pins in a hog node in my uboot dts file.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 15:02:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/setting-GPIO/m-p/1485508#M192244</guid>
      <dc:creator>ddeyo1</dc:creator>
      <dc:date>2022-07-06T15:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: setting GPIO</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/setting-GPIO/m-p/1485514#M192245</link>
      <description>&lt;P&gt;This is my added node that goes under &amp;amp;iomuxc:&lt;/P&gt;&lt;P&gt;pinctrl_hog: hoggrp {&lt;BR /&gt;fsl,pins = &amp;lt;&lt;BR /&gt;MX8MMN(IOMUXC_SD2_CD_B_GPIO2_IO12, 0x16)&lt;BR /&gt;MX8MMN(IOMUXC_SD2_CLK_GPIO2_IO13, 0x16)&lt;BR /&gt;MX8MMN(IOMUXC_SD2_CMD_GPIO2_IO14, 0x16)&lt;BR /&gt;MX8MMN(IOMUXC_SD2_DATA0_GPIO2_IO15, 0x16)&lt;BR /&gt;MX8MMN(IOMUXC_SD2_RESET_B_GPIO2_IO19, 0x16)&lt;BR /&gt;MX8MMN(IOMUXC_NAND_ALE_GPIO3_IO0, 0x16)&lt;BR /&gt;MX8MMN(IOMUXC_ECSPI2_SS0_GPIO5_IO13, 0x16)&lt;BR /&gt;&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 15:08:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/setting-GPIO/m-p/1485514#M192245</guid>
      <dc:creator>ddeyo1</dc:creator>
      <dc:date>2022-07-06T15:08:19Z</dc:date>
    </item>
  </channel>
</rss>

