<?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: How to enable interrupts of EXP_GPIOs from PCA6416 in IMX8M Mini EVK in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-enable-interrupts-of-EXP-GPIOs-from-PCA6416-in-IMX8M-Mini/m-p/980250#M145708</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;PCA6416's driver is gpio-pca953x.c&lt;/P&gt;&lt;P&gt;static const struct of_device_id pca953x_dt_ids[] = {&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;{ .compatible = "ti,tca6416", .data = OF_953X(16, PCA_INT), },&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;On i.MX8M mini EVK board, those GPIO's from PCA6416 are all output, so INT pin is not configured.&lt;/P&gt;&lt;P&gt;The following steps are for you reference:&lt;/P&gt;&lt;P&gt;--------------&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. IOMUX in device tree&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pinctrl_i2c2_dev: mydev_iogrp {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;fsl,pins = &amp;lt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;MX8MM_IOMUXC_GPIO1_IO012_GPIO1_IO12&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;0x19&amp;nbsp;&amp;nbsp; &amp;nbsp;/*&amp;nbsp; expend gpio int */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. add these lines to pca6146 node in dts：&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_i2c2_dev:&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;interrupt-parent = &amp;lt;&amp;amp;gpio1&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;interrupts = &amp;lt;12 IRQ_TYPE_LEVEL_LOW&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3. In driver's probe function&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;int irq = client-&amp;gt;irq;&lt;/P&gt;&lt;P&gt;int ret = devm_request_irq(&amp;amp;client-&amp;gt;dev, irq, (irq_handler_t) my_device_handler, IRQF_TRIGGER_LOW, "my i2c device", NULL);&lt;BR /&gt;if(ret)&lt;BR /&gt;&amp;nbsp; enable_irq(irq);&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;[Comment]&lt;/P&gt;&lt;P&gt;In the driver, It seems that there is function called "pca953x_irq_setup()" ,&amp;nbsp; probably you can directly use it. I didn't test it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope a bove information is helpful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have&amp;nbsp; a nice day!&lt;/P&gt;&lt;P&gt;B.R,&lt;/P&gt;&lt;P&gt;Weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Mar 2020 07:38:59 GMT</pubDate>
    <dc:creator>weidong_sun</dc:creator>
    <dc:date>2020-03-19T07:38:59Z</dc:date>
    <item>
      <title>How to enable interrupts of EXP_GPIOs from PCA6416 in IMX8M Mini EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-enable-interrupts-of-EXP-GPIOs-from-PCA6416-in-IMX8M-Mini/m-p/980249#M145707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working with IMX8M Mini EVK.&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;I'm trying to handle interrupts from EXP_GPIO, but got -6 when calling gpiod_to_irq().&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;The node setting of pca6416 in dts is like below:&lt;/DIV&gt;&lt;DIV class=""&gt;========================&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pca6416: gpio@20 {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;compatible = "ti,tca6416";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;reg = &amp;lt;0x20&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;gpio-controller;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;#gpio-cells = &amp;lt;2&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;};&lt;/DIV&gt;&lt;DIV class=""&gt;========================&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;I added below to use some EXP_GPIOs in my fpga driver:&lt;/DIV&gt;&lt;DIV class=""&gt;========================&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;amp;ecspi2 {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;status = "okay";&lt;P&gt;&lt;/P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;fpga1: fpga_fw@0 {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;reg = &amp;lt;0&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;compatible = "lattice,fpga_fw";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pinctrl-names = "default";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_expio&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;spi-max-frequency = &amp;lt;10000000&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;fpga_resetb-gpio = &amp;lt;&amp;amp;pca6416 10 GPIO_ACTIVE_HIGH&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;fpga_nconfig-gpio = &amp;lt;&amp;amp;pca6416 11 GPIO_ACTIVE_HIGH&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;fpga_conf_done-gpio = &amp;lt;&amp;amp;pca6416 12 GPIO_ACTIVE_HIGH&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;fpga_intb-gpio = &amp;lt;&amp;amp;pca6416 13 GPIO_ACTIVE_HIGH&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;fpga_nstatus-gpio = &amp;lt;&amp;amp;pca6416 14 GPIO_ACTIVE_HIGH&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;fpga_init_done-gpio = &amp;lt;&amp;amp;pca6416 15 GPIO_ACTIVE_HIGH&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;};&lt;BR /&gt;};&lt;/DIV&gt;&lt;DIV class=""&gt;========================&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;and use below api in the driver:&lt;/DIV&gt;&lt;DIV class=""&gt;========================&lt;/DIV&gt;&lt;DIV class=""&gt;devm_gpiod_get()&lt;/DIV&gt;&lt;DIV class=""&gt;gpiod_to_irq()&amp;nbsp;&amp;nbsp;&amp;nbsp; ← it returns -6 error&lt;/DIV&gt;&lt;DIV class=""&gt;========================&lt;BR /&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;Do I need to add properties of "interrupt-" to use interrupt feature for EXP_GPIOs?&lt;/DIV&gt;&lt;DIV class=""&gt;If so, could you please offer an example code?&lt;BR /&gt;&amp;nbsp;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Qian&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2020 09:40:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-enable-interrupts-of-EXP-GPIOs-from-PCA6416-in-IMX8M-Mini/m-p/980249#M145707</guid>
      <dc:creator>qian_hao</dc:creator>
      <dc:date>2020-03-18T09:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable interrupts of EXP_GPIOs from PCA6416 in IMX8M Mini EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-enable-interrupts-of-EXP-GPIOs-from-PCA6416-in-IMX8M-Mini/m-p/980250#M145708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;PCA6416's driver is gpio-pca953x.c&lt;/P&gt;&lt;P&gt;static const struct of_device_id pca953x_dt_ids[] = {&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;{ .compatible = "ti,tca6416", .data = OF_953X(16, PCA_INT), },&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;On i.MX8M mini EVK board, those GPIO's from PCA6416 are all output, so INT pin is not configured.&lt;/P&gt;&lt;P&gt;The following steps are for you reference:&lt;/P&gt;&lt;P&gt;--------------&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. IOMUX in device tree&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pinctrl_i2c2_dev: mydev_iogrp {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;fsl,pins = &amp;lt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;MX8MM_IOMUXC_GPIO1_IO012_GPIO1_IO12&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;0x19&amp;nbsp;&amp;nbsp; &amp;nbsp;/*&amp;nbsp; expend gpio int */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. add these lines to pca6146 node in dts：&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_i2c2_dev:&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;interrupt-parent = &amp;lt;&amp;amp;gpio1&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;interrupts = &amp;lt;12 IRQ_TYPE_LEVEL_LOW&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3. In driver's probe function&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;int irq = client-&amp;gt;irq;&lt;/P&gt;&lt;P&gt;int ret = devm_request_irq(&amp;amp;client-&amp;gt;dev, irq, (irq_handler_t) my_device_handler, IRQF_TRIGGER_LOW, "my i2c device", NULL);&lt;BR /&gt;if(ret)&lt;BR /&gt;&amp;nbsp; enable_irq(irq);&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;[Comment]&lt;/P&gt;&lt;P&gt;In the driver, It seems that there is function called "pca953x_irq_setup()" ,&amp;nbsp; probably you can directly use it. I didn't test it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope a bove information is helpful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have&amp;nbsp; a nice day!&lt;/P&gt;&lt;P&gt;B.R,&lt;/P&gt;&lt;P&gt;Weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2020 07:38:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-enable-interrupts-of-EXP-GPIOs-from-PCA6416-in-IMX8M-Mini/m-p/980250#M145708</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2020-03-19T07:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable interrupts of EXP_GPIOs from PCA6416 in IMX8M Mini EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-enable-interrupts-of-EXP-GPIOs-from-PCA6416-in-IMX8M-Mini/m-p/980251#M145709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Werdong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your thorough answer.&lt;/P&gt;&lt;P&gt;Actually, I've made a conclusion similar to your suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I think I should request interrupt to the INT pin of PCA6146 (which is connected to GPIO1_IO12 on imx8mm) rather than to the EXP_GPIO on PCA6146 directly, as expander's driver only monitors it's INT pin for interrupts.&lt;/P&gt;&lt;P&gt;With your answer, I can be sure to my conclusion before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After all, thank you very much.&lt;/P&gt;&lt;P&gt;Appreciate your a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2020 09:14:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-enable-interrupts-of-EXP-GPIOs-from-PCA6416-in-IMX8M-Mini/m-p/980251#M145709</guid>
      <dc:creator>qian_hao</dc:creator>
      <dc:date>2020-03-19T09:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable interrupts of EXP_GPIOs from PCA6416 in IMX8M Mini EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-enable-interrupts-of-EXP-GPIOs-from-PCA6416-in-IMX8M-Mini/m-p/980252#M145710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/b45499"&gt;b45499&lt;/A&gt;‌ and @Hao Qian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you confirm MX8MM_IOMUXC_GPIO1_IO012_GPIO1_IO12 or MX8MM_IOMUXC_GPIO1_IO&lt;SPAN style="text-decoration: line-through; color: #ff0000;"&gt;0&lt;/SPAN&gt;12_GPIO1_IO12, please ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2020 16:23:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-enable-interrupts-of-EXP-GPIOs-from-PCA6416-in-IMX8M-Mini/m-p/980252#M145710</guid>
      <dc:creator>khang_letruong1</dc:creator>
      <dc:date>2020-05-18T16:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable interrupts of EXP_GPIOs from PCA6416 in IMX8M Mini EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-enable-interrupts-of-EXP-GPIOs-from-PCA6416-in-IMX8M-Mini/m-p/980253#M145711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is MX8MM_IOMUXC_GPIO1_IO&lt;SPAN style="text-decoration: line-through; color: #ff0000;"&gt;0&lt;/SPAN&gt;12_GPIO1_IO12.&lt;/P&gt;&lt;P&gt;MX8MM_IOMUXC_GPIO1_IO012_GPIO1_IO12 was only a small spell mistake I think.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2020 23:02:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-enable-interrupts-of-EXP-GPIOs-from-PCA6416-in-IMX8M-Mini/m-p/980253#M145711</guid>
      <dc:creator>qian_hao</dc:creator>
      <dc:date>2020-05-18T23:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable interrupts of EXP_GPIOs from PCA6416 in IMX8M Mini EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-enable-interrupts-of-EXP-GPIOs-from-PCA6416-in-IMX8M-Mini/m-p/980254#M145712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear @Hao Qian, &lt;/P&gt;&lt;P&gt;Thanks for your confirmation. I will be appreciated if you can tell how to configure the DTS so that interrupt signal could be propagated from one of the GPIOs of PCA6416 to INT that is connected to the&amp;nbsp;GPIO1_IO12 of iMX8M SoC, please ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much in advance,&lt;/P&gt;&lt;P&gt;Khang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2020 02:42:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-enable-interrupts-of-EXP-GPIOs-from-PCA6416-in-IMX8M-Mini/m-p/980254#M145712</guid>
      <dc:creator>khang_letruong1</dc:creator>
      <dc:date>2020-05-27T02:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable interrupts of EXP_GPIOs from PCA6416 in IMX8M Mini EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-enable-interrupts-of-EXP-GPIOs-from-PCA6416-in-IMX8M-Mini/m-p/980255#M145713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I'd like to bother you again. I understood that PCA6416 would monitor any change of one of its EXP_GPIOs to propagate the change and to trigger the INT signal.&amp;nbsp; My question is that should I modify the pca953x driver to configure one of these EXP_GPIOs as input as well since they are all outputs by default?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Khang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2020 08:51:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-enable-interrupts-of-EXP-GPIOs-from-PCA6416-in-IMX8M-Mini/m-p/980255#M145713</guid>
      <dc:creator>khang_letruong1</dc:creator>
      <dc:date>2020-06-02T08:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable interrupts of EXP_GPIOs from PCA6416 in IMX8M Mini EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-enable-interrupts-of-EXP-GPIOs-from-PCA6416-in-IMX8M-Mini/m-p/1513755#M194439</link>
      <description>&lt;P&gt;Hi Khang,&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;I understood that PCA6416 would monitor any change of one of its EXP_GPIOs to propagate the change and to trigger the INT signal&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Have you managed to do this by any chance ? I'm trying to.&lt;/P&gt;&lt;P&gt;I have configured inotify on /sys/class/gpio/gpio&amp;lt;N&amp;gt;/value to monitor changes on the pca9505 gpio expander inputs. But it is not updated without polling.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 08:50:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-enable-interrupts-of-EXP-GPIOs-from-PCA6416-in-IMX8M-Mini/m-p/1513755#M194439</guid>
      <dc:creator>antho</dc:creator>
      <dc:date>2022-08-30T08:50:26Z</dc:date>
    </item>
  </channel>
</rss>

