<?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>Other NXP ProductsのトピックGPIO control on LS1021ATSN</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/GPIO-control-on-LS1021ATSN/m-p/1244106#M10562</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for doing a test code with controling some GPIO on my NXP LS1021ATSN board, such as turn on a led, or put a GPIO at high state for example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But with searching on the board, I really do not find anything concerning this GPIO manipulation, and I do not find sysfs macro such as "export" or a folder called /sys/class/gpio.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me to know how to control GPIOs on this board ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Mar 2021 10:22:19 GMT</pubDate>
    <dc:creator>Waner</dc:creator>
    <dc:date>2021-03-11T10:22:19Z</dc:date>
    <item>
      <title>GPIO control on LS1021ATSN</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/GPIO-control-on-LS1021ATSN/m-p/1244106#M10562</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for doing a test code with controling some GPIO on my NXP LS1021ATSN board, such as turn on a led, or put a GPIO at high state for example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But with searching on the board, I really do not find anything concerning this GPIO manipulation, and I do not find sysfs macro such as "export" or a folder called /sys/class/gpio.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me to know how to control GPIOs on this board ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 10:22:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/GPIO-control-on-LS1021ATSN/m-p/1244106#M10562</guid>
      <dc:creator>Waner</dc:creator>
      <dc:date>2021-03-11T10:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO control on LS1021ATSN</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/GPIO-control-on-LS1021ATSN/m-p/1245477#M10582</link>
      <description>&lt;P&gt;Please refer to&amp;nbsp;&lt;A href="https://community.nxp.com/t5/Layerscape-Knowledge-Base/LS1043-GPIO-support-in-Linux-SDK/ta-p/1103689" target="_blank"&gt;https://community.nxp.com/t5/Layerscape-Knowledge-Base/LS1043-GPIO-support-in-Linux-SDK/ta-p/1103689&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/QorIQ/Toggle-Gpio-pin-in-ls1021-atwr/m-p/1076332#M9519" target="_blank"&gt;https://community.nxp.com/t5/QorIQ/Toggle-Gpio-pin-in-ls1021-atwr/m-p/1076332#M9519&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 07:34:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/GPIO-control-on-LS1021ATSN/m-p/1245477#M10582</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-03-15T07:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO control on LS1021ATSN</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/GPIO-control-on-LS1021ATSN/m-p/1245687#M10583</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your answer, I took a look on both links and on documents on which they refer to.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, concerning RCW, they are using a bitbake compilation but I did not start from a yocto project but from the SDK in the getting started document. (I found my RCW file here :&amp;nbsp;/openil/output/build/host-uboot-tools-2020.01/board/freescale/ls1021atsn)&lt;/P&gt;&lt;P&gt;Moreover, I cannot find GPIO Driver configuration in make menuconfig, so I cannot link GPIO with sysfs..&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I really need to start with a yocto project just to control one GPIO on my board, or do I not understand the way to do it ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your answer.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 11:33:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/GPIO-control-on-LS1021ATSN/m-p/1245687#M10583</guid>
      <dc:creator>Waner</dc:creator>
      <dc:date>2021-03-15T11:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO control on LS1021ATSN</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/GPIO-control-on-LS1021ATSN/m-p/1246365#M10597</link>
      <description>&lt;P&gt;Please run the following command to build Linux Kernel image with GPIO driver enabled.&lt;/P&gt;
&lt;P&gt;$ make nxp_ls1021atsn_defconfig&lt;/P&gt;
&lt;P&gt;$ make linux-menuconfig&lt;/P&gt;
&lt;P&gt;Configure Linux Kernel as the following.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Device Drivers&amp;nbsp; ---&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-*- GPIO Support&amp;nbsp; ---&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [*]&amp;nbsp;&amp;nbsp; /sys/class/gpio/... (sysfs interface)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Memory mapped GPIO drivers&amp;nbsp; ---&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [*] MPC512x/MPC8xxx/QorIQ GPIO support&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;$ make linux&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please modify rcw file in&amp;nbsp;output/build/qoriq-rcw/git/ls1021atsn/SSR_PNS_30/, then run the following command to rebuild RCW.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;$ make host-qoriq-rcw-rebuild&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 10:38:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/GPIO-control-on-LS1021ATSN/m-p/1246365#M10597</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-03-16T10:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO control on LS1021ATSN</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/GPIO-control-on-LS1021ATSN/m-p/1246441#M10598</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52411"&gt;@yipingwang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the first step, I did not know that it was make linux-menuconfig instead of classic menuconfig.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the path for rcw that you gave me does not exist for me in my openil SDK. (I checked after the make linux command).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 12:50:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/GPIO-control-on-LS1021ATSN/m-p/1246441#M10598</guid>
      <dc:creator>Waner</dc:creator>
      <dc:date>2021-03-16T12:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO control on LS1021ATSN</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/GPIO-control-on-LS1021ATSN/m-p/1246813#M10604</link>
      <description>&lt;P&gt;In my openil build environment, RCW is in output/build/host-qoriq-rcw-LSDK-20.04/ls1021atsn/SSR_PNS_30/.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 03:39:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/GPIO-control-on-LS1021ATSN/m-p/1246813#M10604</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-03-17T03:39:55Z</dc:date>
    </item>
  </channel>
</rss>

