[Cbe-oss-dev] [RFC/PATCH] adding support for direct MBX interrupt on Axon based platform.
Arnd Bergmann
arnd at arndb.de
Sat May 19 18:22:31 EST 2007
On Saturday 19 May 2007, Benjamin Herrenschmidt wrote:
> > The real solution is to fix the device tree so that the mailbox device points
> > to the c3p0 as its interrupt parent, instead of the mpic device. Then
> > irq_of_parse_and_map will return give you a route to the direct interrupt.
>
> Well, it should point to the iic, not c3po. c3po isn't per-se a PIC,
> it's just a bridge. We are happy to ignore it in the interrupt tree.
>
> Just set you class to 0 or 1, and thus put an "interrupts" property in
> the format defined for iic with a pointer to the cell iic.
Right, that's what I meant, sorry for being not clear.
If we change the class, we should ignore the c3p0 node.
Defining c3p0 as a cascaded IRQ controller is only necessary
if we can't use the class number.
Arnd <><
More information about the cbe-oss-dev
mailing list