<?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のトピックGPIO setup changes</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/GPIO-setup-changes/m-p/993581#M147397</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This has probably been answered before.&amp;nbsp; We&amp;nbsp;have an i.MX6D where we have to invert a GPIO polarity on bootup.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently it has a direction of 'in' (direction) and a value of '1'.&amp;nbsp; &amp;nbsp;We&amp;nbsp;need it to, by default, have a value of '0'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Changing the direction probably won't be needed until later when we need to toggle the value at runtime.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have to do this at the time the bootloader (u-boot) initializes the processor.&amp;nbsp; Doing this via the OS is not an option.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In imx6q-pinfunc.h should I change the input_val from 0x0 to 0x1&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; font-size: 9.0pt;"&gt;&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;#define&lt;/SPAN&gt; MX6QDL_PAD_DISP0_DAT17__GPIO5_IO11          0x1b4 0x4c8 0x000 0x5 0x0

And is there anything I have to change in the dts file? (like 0x80000000 to 0xC0000000) &lt;/PRE&gt;&lt;PRE style="color: #000000; background-color: #ffffff; font-size: 9.0pt;"&gt;MX6QDL_PAD_DISP0_DAT17__GPIO5_IO11 0x80000000&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Dec 2019 21:37:02 GMT</pubDate>
    <dc:creator>glenfine</dc:creator>
    <dc:date>2019-12-17T21:37:02Z</dc:date>
    <item>
      <title>GPIO setup changes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPIO-setup-changes/m-p/993581#M147397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This has probably been answered before.&amp;nbsp; We&amp;nbsp;have an i.MX6D where we have to invert a GPIO polarity on bootup.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently it has a direction of 'in' (direction) and a value of '1'.&amp;nbsp; &amp;nbsp;We&amp;nbsp;need it to, by default, have a value of '0'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Changing the direction probably won't be needed until later when we need to toggle the value at runtime.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have to do this at the time the bootloader (u-boot) initializes the processor.&amp;nbsp; Doing this via the OS is not an option.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In imx6q-pinfunc.h should I change the input_val from 0x0 to 0x1&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; font-size: 9.0pt;"&gt;&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;#define&lt;/SPAN&gt; MX6QDL_PAD_DISP0_DAT17__GPIO5_IO11          0x1b4 0x4c8 0x000 0x5 0x0

And is there anything I have to change in the dts file? (like 0x80000000 to 0xC0000000) &lt;/PRE&gt;&lt;PRE style="color: #000000; background-color: #ffffff; font-size: 9.0pt;"&gt;MX6QDL_PAD_DISP0_DAT17__GPIO5_IO11 0x80000000&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2019 21:37:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPIO-setup-changes/m-p/993581#M147397</guid>
      <dc:creator>glenfine</dc:creator>
      <dc:date>2019-12-17T21:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO setup changes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPIO-setup-changes/m-p/993582#M147398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Glen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in dts file can be changed pad settings as for example described in&lt;/P&gt;&lt;P&gt;sect.36.4.383 Pad Control Register (IOMUXC_SW_PAD_CTL_PAD_GPIO05)&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=IMX6DQRM" target="_blank"&gt;&lt;STRONG&gt;i.MX 6Dual/6Quad Applications Processor Reference Manual&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Other settings should be done in uboot sources.&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>Wed, 18 Dec 2019 10:54:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPIO-setup-changes/m-p/993582#M147398</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-12-18T10:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO setup changes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPIO-setup-changes/m-p/993583#M147399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Igor.&amp;nbsp; &amp;nbsp;But this is confusing. I find no entry for&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;IOMUXC_SW_PAD_CTL_PAD_GPIO05&lt;SPAN&gt;&amp;nbsp; in my dts.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;There is only&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;MX6QDL_PAD_DISP0_DAT17__GPIO5_IO11 0x80000000&lt;/P&gt;&lt;P&gt;in the 'hog' section of the dts.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically what we need is the value for GPI5, Pin 11&amp;nbsp; to be the opposite of what it is by default. It is c&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;urrently HIGH (a '1') and I need it to be LOW ('0') at boot time or the alarm hooked to the CPLD will be blaring.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Am I misunderstanding what&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;IOMUXC_SW_PAD_CTL_PAD_GPIO05 represents? or how to apply it? I see the write up in the RM but that doesn't tell me anything.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;From what I understand is that the IOMUXC will only control things like drive strength and pullup/pulldown.&amp;nbsp; How does this apply to a single pin?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Glen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2019 19:38:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPIO-setup-changes/m-p/993583#M147399</guid>
      <dc:creator>glenfine</dc:creator>
      <dc:date>2019-12-18T19:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO setup changes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPIO-setup-changes/m-p/993584#M147400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Glen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for MX6QDL_PAD_DISP0_DAT17__GPIO5_IO11 it is necessary to look at IOMUX DISP0_DAT17 description :&lt;/P&gt;&lt;P&gt;sect.36.4.302 Pad Control Register (IOMUXC_SW_PAD_CTL_PAD_DISP0_DATA17)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;From what I understand is that the IOMUXC will only control things like drive strength&lt;/P&gt;&lt;P&gt;&amp;gt;and pullup/pulldown.&amp;nbsp; How does this apply to a single pin?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;right.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2019 00:50:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPIO-setup-changes/m-p/993584#M147400</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-12-19T00:50:22Z</dc:date>
    </item>
  </channel>
</rss>

