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,383件の閲覧回数
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,256件の閲覧回数
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!
-----------------------------------------------------------------------------------------------------------------------