I would like configure GPIO(GPIO1_IO31) as an interrupt to toggle value of another GPIO (GPIO1_IO30). How to implement this?
How to create a node in dts file for gpio?
Hi mathew_k_t
please look at linux/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt
linux-imx.git - i.MX Linux Kernel
and some examples
https://community.nxp.com/thread/381277
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi
Thank you for your response.
I have gone through the references and I understood the things discussed. But I was expecting something helpful to configure one gpio pin as interrupt. As per the first reference, I tried to create a node in imx6ull14x14evk.dts, but I'm not getting any irq_reference when I added some print statements in gpio-mxc.c.