You can use a 4 cell interrupt specifier (we use that in case of embedded power architecture platforms) - First cell corresponds to one of the four cascade lines (coming from the cascaded pic) - Second cell provides the interrupt sense information - Third one tells the interrupt subtype (in your case should be the cascade power interrupt type) - Fourth cell communicates the interrupt number corresponding to the cascaded pic.
There would be a single interrupt parent, which is the system interrupt controller. You would have to translate the four cell interrupt specifier and also add cascaded interrupt handling for the shared interrupt line. -Varun > -----Original Message----- > From: [email protected] [mailto:[email protected]] > Sent: Monday, April 16, 2012 9:32 AM > To: Sethi Varun-B16395 > Cc: devicetree-discuss > Subject: Re: Two different interrupt-parents > > On Sun, Apr 15, 2012 at 11:40 PM, Sethi Varun-B16395 > <[email protected]> wrote: > > Hi Jon, > > Does the cascaded PIC have an interrupt line to the system interrupt > controller? > > There are four cascade lines. The 128 inputs on the cascade controller > can be arbitrarily mapped onto these four lines. > > > > > Regards > > Varun > > > >> -----Original Message----- > >> From: devicetree-discuss- > >> [email protected] > >> bounces+[mailto:devicetree- > >> [email protected]] On Behalf > >> discuss-bounces+Of > >> [email protected] > >> Sent: Sunday, April 15, 2012 8:27 AM > >> To: devicetree-discuss > >> Subject: Two different interrupt-parents > >> > >> How do you define a device with two different interrupt parents? > >> > >> I have a OTG USB controller where the main usb interrupt is on the > >> system interrupt controller and the OTG power interrupts are on a > cascaded PIC. > >> > >> -- > >> Jon Smirl > >> [email protected] > >> _______________________________________________ > >> devicetree-discuss mailing list > >> [email protected] > >> https://lists.ozlabs.org/listinfo/devicetree-discuss > > > > > > > > -- > Jon Smirl > [email protected] _______________________________________________ devicetree-discuss mailing list [email protected] https://lists.ozlabs.org/listinfo/devicetree-discuss
