Hi,
I'm using iMX6ULL Evaluation kit. I have a gpio interrupt. Whenever an interrupt is occured, I would like send a message to userspace application from ISR in kernel driver.
How to implement this?
Can you share some samples?
Regards
Hi mathew_k_t
one can look at interrupt event example provided in touch drivers, for example
i.MX6UL Touch Screen detection
or elan_ts.c driver used with some nxp boards
elan_ts.c\touchscreen\input\drivers - linux-imx - i.MX Linux kernel
imx7d-sdb.dts\dts\boot\arm\arch - linux-imx - i.MX Linux kernel
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi,
Can I use netlink socket for sending message to userspace?
Regards