<?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>topic Re: imx8 linux gpio-keys using gpio interrupt example in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx8-linux-gpio-keys-using-gpio-interrupt-example/m-p/1809089#M219984</link>
    <description>&lt;P&gt;Hello, the same, I can see&lt;/P&gt;&lt;PRE&gt;gpio_keys&lt;/PRE&gt;&lt;P&gt;Don't work on the board imx8, can you share your configuration?&lt;/P&gt;</description>
    <pubDate>Thu, 15 Feb 2024 12:23:10 GMT</pubDate>
    <dc:creator>Marco_Savo</dc:creator>
    <dc:date>2024-02-15T12:23:10Z</dc:date>
    <item>
      <title>imx8 linux gpio-keys using gpio interrupt example</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8-linux-gpio-keys-using-gpio-interrupt-example/m-p/1726354#M212878</link>
      <description>&lt;P&gt;I would like to use a GPIO on the IMX8M plus as an input for the Linux gpio-keys driver. I have not been able to find any examples of the device tree entries required to enable the interrupts&amp;nbsp; for a GPIO input bit to act as a "keypress".&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 13:14:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8-linux-gpio-keys-using-gpio-interrupt-example/m-p/1726354#M212878</guid>
      <dc:creator>flobro</dc:creator>
      <dc:date>2023-09-20T13:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: imx8 linux gpio-keys using gpio interrupt example</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8-linux-gpio-keys-using-gpio-interrupt-example/m-p/1726499#M212892</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/198929"&gt;@flobro&lt;/a&gt;!&lt;/P&gt;
&lt;P style="color: #0e101a; background: transparent; margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN data-preserver-spaces="true"&gt;Thank you for contacting NXP Support!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="color: #0e101a; background: transparent; margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN data-preserver-spaces="true"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="color: #0e101a; background: transparent; margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN data-preserver-spaces="true"&gt;For our boards, we don´t have examples, but you can see the documentation of the kernel following the link:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="color: #0e101a; background: transparent; margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN data-preserver-spaces="true"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="color: #0e101a; background: transparent; margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;A class="editor-rtfLink" style="color: #0e101a; background: transparent; margin-top: 0pt; margin-bottom: 0pt; ; color: #4a6ee0;" href="https://github.com/nxp-imx/linux-imx/blob/lf-6.1.y/Documentation/devicetree/bindings/gpio/gpio.txt" target="_blank" rel="noopener"&gt;&lt;SPAN data-preserver-spaces="true"&gt;https://github.com/nxp-imx/linux-imx/blob/lf-6.1.y/Documentation/devicetree/bindings/gpio/gpio.txt&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="color: #0e101a; background: transparent; margin-top: 0pt; margin-bottom: 0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="color: #0e101a; background: transparent; margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN data-preserver-spaces="true"&gt;&lt;A href="https://github.com/nxp-imx/linux-imx/blob/lf-6.1.y/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml" target="_blank"&gt;https://github.com/nxp-imx/linux-imx/blob/lf-6.1.y/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="color: #0e101a; background: transparent; margin-top: 0pt; margin-bottom: 0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="color: #0e101a; background: transparent; margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN data-preserver-spaces="true"&gt;Best Regards!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="color: #0e101a; background: transparent; margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN data-preserver-spaces="true"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="color: #0e101a; background: transparent; margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN data-preserver-spaces="true"&gt;Chavira&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 18:51:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8-linux-gpio-keys-using-gpio-interrupt-example/m-p/1726499#M212892</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2023-09-20T18:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: imx8 linux gpio-keys using gpio interrupt example</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8-linux-gpio-keys-using-gpio-interrupt-example/m-p/1728991#M213114</link>
      <description>&lt;P&gt;Thanks for the response. I found out that there is GPIO support (gpio-mxc.c) that appears to handle the GPIO setup for interrupts properly, so I get a event from the "gpio-keys" config I set up in the device tree.&lt;/P&gt;&lt;P&gt;The only issue (not) is that there is more than just one or more bytes that get sent as an event. Good thing all I care about is that there is an event after the gpio changes state (vary rarely) which allow a blocking read to monitor it.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 14:14:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8-linux-gpio-keys-using-gpio-interrupt-example/m-p/1728991#M213114</guid>
      <dc:creator>flobro</dc:creator>
      <dc:date>2023-09-25T14:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: imx8 linux gpio-keys using gpio interrupt example</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8-linux-gpio-keys-using-gpio-interrupt-example/m-p/1809089#M219984</link>
      <description>&lt;P&gt;Hello, the same, I can see&lt;/P&gt;&lt;PRE&gt;gpio_keys&lt;/PRE&gt;&lt;P&gt;Don't work on the board imx8, can you share your configuration?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 12:23:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8-linux-gpio-keys-using-gpio-interrupt-example/m-p/1809089#M219984</guid>
      <dc:creator>Marco_Savo</dc:creator>
      <dc:date>2024-02-15T12:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: imx8 linux gpio-keys using gpio interrupt example</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8-linux-gpio-keys-using-gpio-interrupt-example/m-p/1809172#M219991</link>
      <description>&lt;P&gt;There are a few web pages that talk about setting up the device tree for gpio-keys:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://www.kernel.org/doc/Documentation/devicetree/bindings/input/gpio-keys.txt" target="_blank"&gt;https://www.kernel.org/doc/Documentation/devicetree/bindings/input/gpio-keys.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842398/Linux+GPIO+Driver?view=blog#LinuxGPIODriver-GPIO-KeysDriver" target="_blank"&gt;https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842398/Linux+GPIO+Driver?view=blog#LinuxGPIODriver-GPIO-KeysDriver&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have to modify the GPIO pin information to match your board design. This allows your GPIO to send a "key code" to an input driver (/dev/input/event0) that works kind of like an interrupt if a program does a blocking read on the input.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 14:28:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8-linux-gpio-keys-using-gpio-interrupt-example/m-p/1809172#M219991</guid>
      <dc:creator>flobro</dc:creator>
      <dc:date>2024-02-15T14:28:18Z</dc:date>
    </item>
  </channel>
</rss>

