<?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: GPIO configuration</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/GPIO-configuration/m-p/513057#M83680</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;You could take a look at the following links, where GPIO configuration information is provided:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/381277"&gt;Simple GPIO Example - quandry&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-329735"&gt;Basic GPIO usage from Linux on UDOO NEO board&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://falsinsoft.blogspot.com/2012/11/access-gpio-from-linux-user-space.html" title="http://falsinsoft.blogspot.com/2012/11/access-gpio-from-linux-user-space.html"&gt;Access GPIO from Linux user space | FalsinSoft&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be useful for you.&lt;BR /&gt;Best regards!&lt;BR /&gt;/Carlos&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, 20 Apr 2016 16:25:26 GMT</pubDate>
    <dc:creator>CarlosCasillas</dc:creator>
    <dc:date>2016-04-20T16:25:26Z</dc:date>
    <item>
      <title>GPIO configuration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPIO-configuration/m-p/513056#M83679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have configured GPIO using the following statements on IMX53 based custom board. In sysfs we could see "active_low" and "value" files under gpio folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gpio_request(TEST,"test");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gpio_direction_output(TEST,0);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gpio_export(TEST,0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We couldn't able to set value in value file, if we set the value in "active_low" then it is reflecting on "value" file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 14:27:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPIO-configuration/m-p/513056#M83679</guid>
      <dc:creator>kravik</dc:creator>
      <dc:date>2016-04-19T14:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO configuration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPIO-configuration/m-p/513057#M83680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;You could take a look at the following links, where GPIO configuration information is provided:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/381277"&gt;Simple GPIO Example - quandry&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-329735"&gt;Basic GPIO usage from Linux on UDOO NEO board&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://falsinsoft.blogspot.com/2012/11/access-gpio-from-linux-user-space.html" title="http://falsinsoft.blogspot.com/2012/11/access-gpio-from-linux-user-space.html"&gt;Access GPIO from Linux user space | FalsinSoft&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be useful for you.&lt;BR /&gt;Best regards!&lt;BR /&gt;/Carlos&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, 20 Apr 2016 16:25:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPIO-configuration/m-p/513057#M83680</guid>
      <dc:creator>CarlosCasillas</dc:creator>
      <dc:date>2016-04-20T16:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO configuration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPIO-configuration/m-p/513058#M83681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;P&gt;Hello Carlos!&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/CarlosCasillas"&gt;CarlosCasillas&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to successfully follow the "Simple GPIO Example - quandry" guide and control an GPIO output but now I would like to setup and configure it from the device tree, which I started to learn recently.&lt;/P&gt;&lt;P&gt;In other words, I would like to boot up the board and already have my GPIO listed under /sys/class/gpio/&amp;lt;my_gpio&amp;gt; like other devices that use GPIO in the device tree and have it setup as low by default.&lt;/P&gt;&lt;P&gt;I am using an IMX6Q SABRED SD. I have seen many examples but I get stuck with IMX6 because I don't seems to find a "fsl,imx6q-gpio" or similar and I wouldn't know what to populate in the register field.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;References I have been using:&lt;/P&gt;&lt;P&gt;Pin settings app note:&lt;/P&gt;&lt;P&gt;&lt;A data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fcache.freescale.com%2Ffiles%2F32bit%2Fdoc%2Fapp_note%2FAN5078.pdf" rel="nofollow" target="_blank"&gt;http://cache.freescale.com/files/32bit/doc/app_note/AN5078.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Device tree app note:&lt;/P&gt;&lt;P&gt;&lt;A data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fassets%2Fdocuments%2Fdata%2Fen%2Fapplication-notes%2FAN5125.pdf" rel="nofollow" target="_blank"&gt;http://www.nxp.com/assets/documents/data/en/application-notes/AN5125.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;More on device tree:&lt;/P&gt;&lt;P&gt;&lt;A data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fdeveloper.toradex.com%2Fdevice-tree-customization" rel="nofollow" target="_blank"&gt;Device Tree Customization&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Linux docs:&lt;/P&gt;&lt;P&gt;Documentation/devicetree/bindings/gpio/gpio.txt&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Andrey-&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2017 20:52:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPIO-configuration/m-p/513058#M83681</guid>
      <dc:creator>andreyreyes</dc:creator>
      <dc:date>2017-01-16T20:52:14Z</dc:date>
    </item>
  </channel>
</rss>

