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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
864 Views
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

Labels (4)
0 Kudos
1 Solution
656 Views
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!

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

View solution in original post

2 Replies
657 Views
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!

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

656 Views
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 Kudos