<?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: how to write a helloworld module for GPIO driver</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/how-to-write-a-helloworld-module-for-GPIO-driver/m-p/690209#M106926</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shawn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I doubt if "ON/OFF" driver exists, but for usage System Reset Controllor(SRC) may be&lt;/P&gt;&lt;P&gt;useful to look at FreeRTOS examples&lt;/P&gt;&lt;P&gt;..boards/evkmcimx6ul/demo_apps/power_mode_switch/power_mode_switch.c&lt;BR /&gt;..boards/evkmcimx6ul/driver_examples/src/src_reset_source/src_reset_source.c&lt;BR /&gt;..boards/evkmcimx6ul/driver_examples/wdog/wdog.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Board Support Packages (7) &lt;BR /&gt;SDK2.2_iMX6UL_WIN(REV SDK2.2)&lt;BR /&gt;&lt;A href="http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-processors/i.mx-6-processors/i.mx-6ultralite-processor-low-power-secure-arm-cortex-a7-core:i.MX6UL?tab=Design_Tools_Tab"&gt;http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-processors/i.mx-6-processors/i.mx-6ultralite-processor-low-power-secure-arm-cortex-a7-core:i.MX6UL?tab=Design_Tools_Tab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;for hello world one can look at&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.variwiki.com/index.php?title=VAR-SOM-MX6_Hello_World" title="http://www.variwiki.com/index.php?title=VAR-SOM-MX6_Hello_World"&gt;IMX Hello World - Variscite Wiki&lt;/A&gt;&amp;nbsp;&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>Tue, 01 Aug 2017 10:25:34 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2017-08-01T10:25:34Z</dc:date>
    <item>
      <title>how to write a helloworld module for GPIO driver</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-write-a-helloworld-module-for-GPIO-driver/m-p/690208#M106925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on imx6ulevk EVK, I would like to write&amp;nbsp;a helloworld GPIO module for char driver, and think the ON/OFF hardware button on board can&amp;nbsp;be a reference design.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From schema and pin tool, I see that ON/OFF button is on R8 pin, peripheral is System Reset Controllor(SRC) , with src.RESET_B in IOMUX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However,&amp;nbsp;where is the source code for this driver? I tried various of searching ways, including searching keywords in source, in build directory, and in running board /proc, but none of them had got me there. I had written drivers for linux 2.6 many years ago, but&amp;nbsp;when trying to refresh self and picking things up in yocto + Linux 4.x recently,&amp;nbsp;confusion are confronted more than expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone tell me what is the correct steps to search for its driver? &amp;nbsp;Or... is it a pure hardware button and just power off CPU without any source code..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;-Shawn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 09:35:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-write-a-helloworld-module-for-GPIO-driver/m-p/690208#M106925</guid>
      <dc:creator>listplot3d</dc:creator>
      <dc:date>2017-08-01T09:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to write a helloworld module for GPIO driver</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-write-a-helloworld-module-for-GPIO-driver/m-p/690209#M106926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shawn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I doubt if "ON/OFF" driver exists, but for usage System Reset Controllor(SRC) may be&lt;/P&gt;&lt;P&gt;useful to look at FreeRTOS examples&lt;/P&gt;&lt;P&gt;..boards/evkmcimx6ul/demo_apps/power_mode_switch/power_mode_switch.c&lt;BR /&gt;..boards/evkmcimx6ul/driver_examples/src/src_reset_source/src_reset_source.c&lt;BR /&gt;..boards/evkmcimx6ul/driver_examples/wdog/wdog.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Board Support Packages (7) &lt;BR /&gt;SDK2.2_iMX6UL_WIN(REV SDK2.2)&lt;BR /&gt;&lt;A href="http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-processors/i.mx-6-processors/i.mx-6ultralite-processor-low-power-secure-arm-cortex-a7-core:i.MX6UL?tab=Design_Tools_Tab"&gt;http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-processors/i.mx-6-processors/i.mx-6ultralite-processor-low-power-secure-arm-cortex-a7-core:i.MX6UL?tab=Design_Tools_Tab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;for hello world one can look at&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.variwiki.com/index.php?title=VAR-SOM-MX6_Hello_World" title="http://www.variwiki.com/index.php?title=VAR-SOM-MX6_Hello_World"&gt;IMX Hello World - Variscite Wiki&lt;/A&gt;&amp;nbsp;&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>Tue, 01 Aug 2017 10:25:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-write-a-helloworld-module-for-GPIO-driver/m-p/690209#M106926</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-08-01T10:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to write a helloworld module for GPIO driver</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-write-a-helloworld-module-for-GPIO-driver/m-p/690210#M106927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. as you said, on/off button doesn't have&amp;nbsp;driver. Then I found a proper pin and mux'd it as GPIO, then had written&amp;nbsp;a userspace driver. It was enough for the experiment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 08:31:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-write-a-helloworld-module-for-GPIO-driver/m-p/690210#M106927</guid>
      <dc:creator>listplot3d</dc:creator>
      <dc:date>2017-08-10T08:31:16Z</dc:date>
    </item>
  </channel>
</rss>

