how to use p4040's external irq?

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

how to use p4040's external irq?

跳至解决方案
1,395 次查看
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!


标签 (1)
标记 (2)
1 解答
1,155 次查看
mgkiller
Contributor III

i solved this problem by correcting my device tree.

在原帖中查看解决方案

2 回复数
1,156 次查看
mgkiller
Contributor III

i solved this problem by correcting my device tree.

1,155 次查看
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 项奖励
回复