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

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

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

619 Views
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?

Labels (1)
1 Reply

492 Views
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!
-----------------------------------------------------------------------------------------------------------------------