[i.MX6Q]I register a driver's interrupt, but the error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

[i.MX6Q]I register a driver's interrupt, but the error

跳至解决方案
1,556 次查看
solanum
Contributor I

I would like to interrupt GPIO_3_20, but registration appears to be a failure, I need help ...... Thanks!

Driver code · GitHub

Target information · GitHub

标签 (4)
0 项奖励
回复
1 解答
1,348 次查看
igorpadykov
NXP Employee
NXP Employee

HI solanum

please check that that gpio pad was not used for other purposes,

and configure iomux settings with IOMUXC_SW_MUX_CTL_ registers.

Read Linux Manual on link below also there are links to simple gpio interrupt examples

GPIO interrupt on i.MX6

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

2 回复数
1,349 次查看
igorpadykov
NXP Employee
NXP Employee

HI solanum

please check that that gpio pad was not used for other purposes,

and configure iomux settings with IOMUXC_SW_MUX_CTL_ registers.

Read Linux Manual on link below also there are links to simple gpio interrupt examples

GPIO interrupt on i.MX6

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

1,348 次查看
solanum
Contributor I
Igor :

Thank you very much! I did it!
Because you gave me the link.
But I do not know what you say Lnux manual, I want to know.

Solanum

0 项奖励
回复