<?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: IMX6SL-EVK-PL reading/writing GPIO/kpp</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6SL-EVK-PL-reading-writing-GPIO-kpp/m-p/686759#M106291</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="direction: ltr;"&gt;thanks Igor for your response.&lt;/P&gt;&lt;P style="direction: ltr;"&gt;&lt;/P&gt;&lt;P style="direction: ltr;"&gt;I'll read the Key chapter and review the SDK you've sent.&lt;/P&gt;&lt;P style="direction: ltr;"&gt;&lt;/P&gt;&lt;P style="direction: ltr;"&gt;1) I'm still trying to undesrstand where i can see the GPIOs that i can read/write / or where i can see those who own by the Kernel and restricted to user space.&lt;/P&gt;&lt;P style="direction: ltr;"&gt;&lt;/P&gt;&lt;P style="direction: ltr;"&gt;2) So if&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Device tree pinctrl setting&amp;nbsp;is the&amp;nbsp;&lt;SPAN&gt;IOMUXC_SW_PAD_CTL_PAD_x , what is the pad setting in the&lt;SPAN style="background-color: #ffffff;"&gt; imx6sl-pinfunc.h ( the device tree use this header ).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="direction: ltr;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="direction: ltr;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;thanks.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Jun 2017 10:48:58 GMT</pubDate>
    <dc:creator>moranmoran</dc:creator>
    <dc:date>2017-06-14T10:48:58Z</dc:date>
    <item>
      <title>IMX6SL-EVK-PL reading/writing GPIO/kpp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6SL-EVK-PL-reading-writing-GPIO-kpp/m-p/686757#M106289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="direction: ltr;"&gt;Hello,&lt;/P&gt;&lt;P style="direction: ltr;"&gt;&lt;/P&gt;&lt;P style="direction: ltr;"&gt;I'm working on the IMX6SL EVB.&lt;/P&gt;&lt;P style="direction: ltr;"&gt;using Kernel 3.10.53 and imx6sl-evk-pl.dtb.&lt;/P&gt;&lt;P style="direction: ltr;"&gt;&lt;/P&gt;&lt;P style="direction: ltr;"&gt;I've several questions regarding read/write GPIO/KPP ( from user space ) :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="direction: ltr;"&gt;1) After setting (export,direction ...) all needed in order to write / read from GPIO there are few that works and some that doesn't.&lt;/P&gt;&lt;P style="direction: ltr;"&gt;for example all the LCD_DATX works (read/write) while other like LED_DEBUG (HSIC_STROBE) that doesn't.&lt;/P&gt;&lt;P style="direction: ltr;"&gt;Where is the place that i can see the diffrent between them and how to enable the ones that dowsn't works.&lt;/P&gt;&lt;P style="direction: ltr;"&gt;&lt;/P&gt;&lt;P style="direction: ltr;"&gt;2) Probably same question as above , just fucus on KPP.&lt;/P&gt;&lt;P style="direction: ltr;"&gt;i can see kernel prints of evbug while press on the push buttons , but i can't read them from user space.&lt;/P&gt;&lt;P style="direction: ltr;"&gt;&lt;/P&gt;&lt;P style="direction: ltr;"&gt;3) what is the diffrent between Device tree pinctrl setting to the setting register in the imx6sl-pinfunc.h&lt;/P&gt;&lt;P style="direction: ltr;"&gt;for example (for the KEY_ROW0) in the device tree the setting is : 0x1b0b0&lt;/P&gt;&lt;P style="direction: ltr;"&gt;while in the header the setting is : &amp;nbsp;0x18C 0x494 0x754 0x0 0x0&lt;/P&gt;&lt;P style="direction: ltr;"&gt;what each configure ?&amp;nbsp;&lt;/P&gt;&lt;P style="direction: ltr;"&gt;&lt;/P&gt;&lt;P style="direction: ltr;"&gt;Thanks in advance&amp;nbsp;&lt;/P&gt;&lt;P style="direction: ltr;"&gt;Moran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 07:43:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6SL-EVK-PL-reading-writing-GPIO-kpp/m-p/686757#M106289</guid>
      <dc:creator>moranmoran</dc:creator>
      <dc:date>2017-06-14T07:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6SL-EVK-PL reading/writing GPIO/kpp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6SL-EVK-PL-reading-writing-GPIO-kpp/m-p/686758#M106290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Moran&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can try to debug attaching jtag and checking gpio iomux registers or printf them.&lt;/P&gt;&lt;P&gt;For keypad understanding may be useful to look at attached baremetal sdk example&lt;/P&gt;&lt;P&gt;and description in Chapter 19 Configuring the Keypad Controller of pdf file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;diffrence between Device tree pinctrl setting (0x1b0b0) and the setting register in the imx6sl-pinfunc.h,&lt;/P&gt;&lt;P&gt;0x1b0b0 is pad control register value IOMUXC_SW_PAD_CTL_PAD_x.&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, 14 Jun 2017 10:19:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6SL-EVK-PL-reading-writing-GPIO-kpp/m-p/686758#M106290</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-06-14T10:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6SL-EVK-PL reading/writing GPIO/kpp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6SL-EVK-PL-reading-writing-GPIO-kpp/m-p/686759#M106291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="direction: ltr;"&gt;thanks Igor for your response.&lt;/P&gt;&lt;P style="direction: ltr;"&gt;&lt;/P&gt;&lt;P style="direction: ltr;"&gt;I'll read the Key chapter and review the SDK you've sent.&lt;/P&gt;&lt;P style="direction: ltr;"&gt;&lt;/P&gt;&lt;P style="direction: ltr;"&gt;1) I'm still trying to undesrstand where i can see the GPIOs that i can read/write / or where i can see those who own by the Kernel and restricted to user space.&lt;/P&gt;&lt;P style="direction: ltr;"&gt;&lt;/P&gt;&lt;P style="direction: ltr;"&gt;2) So if&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Device tree pinctrl setting&amp;nbsp;is the&amp;nbsp;&lt;SPAN&gt;IOMUXC_SW_PAD_CTL_PAD_x , what is the pad setting in the&lt;SPAN style="background-color: #ffffff;"&gt; imx6sl-pinfunc.h ( the device tree use this header ).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="direction: ltr;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="direction: ltr;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;thanks.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 10:48:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6SL-EVK-PL-reading-writing-GPIO-kpp/m-p/686759#M106291</guid>
      <dc:creator>moranmoran</dc:creator>
      <dc:date>2017-06-14T10:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6SL-EVK-PL reading/writing GPIO/kpp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6SL-EVK-PL-reading-writing-GPIO-kpp/m-p/686760#M106292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Moran&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;imx6sl-pinfunc.h&lt;/SPAN&gt;&lt;/SPAN&gt; provides muxing options, while &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;pinctrl setting&lt;/SPAN&gt; in dts provides &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;pad setting&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Best regards&lt;BR /&gt;igor&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 10:52:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6SL-EVK-PL-reading-writing-GPIO-kpp/m-p/686760#M106292</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-06-14T10:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6SL-EVK-PL reading/writing GPIO/kpp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6SL-EVK-PL-reading-writing-GPIO-kpp/m-p/686761#M106293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="direction: ltr;"&gt;Except using the JTAG to determine if some GPIO owned by kernel or not , is there any file such device tree or other way to see it the list of free GPIO.&lt;/P&gt;&lt;P style="direction: ltr;"&gt;&lt;/P&gt;&lt;P style="direction: ltr;"&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 11:43:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6SL-EVK-PL-reading-writing-GPIO-kpp/m-p/686761#M106293</guid>
      <dc:creator>moranmoran</dc:creator>
      <dc:date>2017-06-14T11:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6SL-EVK-PL reading/writing GPIO/kpp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6SL-EVK-PL-reading-writing-GPIO-kpp/m-p/686762#M106294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please check&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.kosagi.com/w/index.php?title=Definitive_GPIO_guide"&gt;https://www.kosagi.com/w/index.php?title=Definitive_GPIO_guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 12:36:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6SL-EVK-PL-reading-writing-GPIO-kpp/m-p/686762#M106294</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-06-14T12:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6SL-EVK-PL reading/writing GPIO/kpp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6SL-EVK-PL-reading-writing-GPIO-kpp/m-p/686763#M106295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="direction: ltr;"&gt;I've already saw it while searching over the net .... it still doesn't answer why i can use some pads as GPIO (read/write) while other not.&lt;/P&gt;&lt;P style="direction: ltr;"&gt;&lt;/P&gt;&lt;P style="direction: ltr;"&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 12:55:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6SL-EVK-PL-reading-writing-GPIO-kpp/m-p/686763#M106295</guid>
      <dc:creator>moranmoran</dc:creator>
      <dc:date>2017-06-14T12:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6SL-EVK-PL reading/writing GPIO/kpp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6SL-EVK-PL-reading-writing-GPIO-kpp/m-p/686764#M106296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;P&gt;Hi Moran&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;reason may be that these pins&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;are used by some other modules.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Best regards&lt;BR /&gt;igor&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 23:13:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6SL-EVK-PL-reading-writing-GPIO-kpp/m-p/686764#M106296</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-06-14T23:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6SL-EVK-PL reading/writing GPIO/kpp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6SL-EVK-PL-reading-writing-GPIO-kpp/m-p/686765#M106297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="direction: ltr;"&gt;Hello ,&lt;/P&gt;&lt;P style="direction: ltr;"&gt;&lt;/P&gt;&lt;P style="direction: ltr;"&gt;Sorry for the late response.&lt;/P&gt;&lt;P style="direction: ltr;"&gt;- I've disable the KPP driver in the imx6sl-evk-common.dtsi dtsdevicetree ( change from okay to disable ).&lt;/P&gt;&lt;P style="direction: ltr;"&gt;- Now i don't get the evbug message each press on pushbutton.&lt;/P&gt;&lt;P style="direction: ltr;"&gt;- Still using sysFS (export,direction,value -in or out ) dosn't works with &lt;STRONG&gt;these&lt;/STRONG&gt; IOs&lt;/P&gt;&lt;P style="direction: ltr;"&gt;- &amp;nbsp;Also i see that in /sys/kernel/debug/gpio that these IOs used by sysFS&lt;/P&gt;&lt;P style="direction: ltr;"&gt;&lt;/P&gt;&lt;P style="direction: ltr;"&gt;GPIOs 64-95, platform/20a4000.gpio, 20a4000.gpio:&lt;BR /&gt; gpio-86 (2198000.usdhc cd ) in hi&lt;BR /&gt; gpio-88 (sysfs ) in lo&lt;BR /&gt; gpio-89 (sysfs ) in lo&lt;/P&gt;&lt;P style="direction: ltr;"&gt;&lt;/P&gt;&lt;P style="direction: ltr;"&gt;What have i missed ?&amp;nbsp;&lt;/P&gt;&lt;P style="direction: ltr;"&gt;how to find which driver used them ?&lt;/P&gt;&lt;P style="direction: ltr;"&gt;&lt;/P&gt;&lt;P style="direction: ltr;"&gt;Thanks in advance,&lt;/P&gt;&lt;P style="direction: ltr;"&gt;Moran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 12:04:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6SL-EVK-PL-reading-writing-GPIO-kpp/m-p/686765#M106297</guid>
      <dc:creator>moranmoran</dc:creator>
      <dc:date>2017-06-26T12:04:57Z</dc:date>
    </item>
  </channel>
</rss>

