how to use p4040's external irq?

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

how to use p4040's external irq?

Jump to solution
788 Views
mgkiller
Contributor III

hi all,

i have an problem about external interrupt 0 on p4040.

since i know that p4040's interrupt controller is similar witch p2010's in user manual , but when I use the previous p2010's method, request_irq() always fail.

anyone give me a p4040 external interrupt 0 demo routine, including external interrupt register routine and its device tree node description.

Any help is appreciated!


Labels (1)
Tags (2)
1 Solution
548 Views
mgkiller
Contributor III

i solved this problem by correcting my device tree.

View solution in original post

2 Replies
549 Views
mgkiller
Contributor III

i solved this problem by correcting my device tree.

548 Views
yidingli
Contributor I

Hi changbao,

When you call request_irq, how did you determine the irq number you need to pass? I'm still trying to figure out how on P4040 the external interrupts are hooked up to CPU, so please bare with me.

Thanks in advance and regards,

Li

0 Kudos