DTB interrupt number is different from it get through platform_get_irq()

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

DTB interrupt number is different from it get through platform_get_irq()

1,378 次查看
tony-tony
Contributor III

dtb file 

    interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,

But when I get the irq number from platform_get_irq(), it is 231, not 7, I don't know why?

标签 (1)
1 回复

1,251 次查看
igorpadykov
NXP Employee
NXP Employee

Hi tony

seems this is behaviour of new kernels as discussed on

http://linux-sunxi.org/External_interrupts
also questions may be posted on kernel mailing list

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