Thread (25 messages) 25 messages, 3 authors, 2012-07-31
STALE5057d

[PATCH v2 4/7] ARM: pxa: add devicetree code for irq handling

From: arnd@arndb.de (Arnd Bergmann)
Date: 2012-07-30 08:31:32

On Sunday 29 July 2012, Daniel Mack wrote:
Hmm, PXA25x (which does not feature IRQ priorities) shares a fair amount
of peripherals with other PXA series (which do have support for that). I
would much like to reflect that fact by inherhiting device nodes from
one dtsi to the other. Hence, if at all, we would need to have two cells
always, and just ignore the second argument on PXA25x.
But that can only work if the interrupt numbers are identical between PXA25x
and the other SoCs. Are they?
And I also wonder whether using the second spec value for a priority
wouldn't be somehow abusive? Isn't that considered to denote the trigger
flags in contexts of interrupt controllers? At least, that is what
irq_domain_xlate_twocell() assumes.
You would not use irq_domain_xlate_twocell in that scenario but provide your
own, which is ok. Interpreting the second cell as the trigger flags is just
a convenient default because it's the most common use for that.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help