Event on interrupt

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Event on interrupt

641件の閲覧回数
mathew_k_t
Contributor II

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

ラベル(3)
0 件の賞賛
2 返答(返信)

518件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛

518件の閲覧回数
mathew_k_t
Contributor II

Hi,

Can I use netlink socket for sending message to userspace?

Regards

0 件の賞賛