RE: Two different interrupt-parents
From: Sethi Varun-B16395 <hidden>
Date: 2012-04-16 04:14:25
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: jonsmirl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org [mailto:jonsmirl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org] 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 [off-list ref] wrote:quoted
Hi Jon, Does the cascaded PIC have an interrupt line to the system interruptcontroller? There are four cascade lines. The 128 inputs on the cascade controller can be arbitrarily mapped onto these four lines.quoted
Regards Varunquoted
-----Original Message----- From: devicetree-discuss- bounces+varun.sethi=freescale.com-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org bounces+[mailto:devicetree- discuss-bounces+varun.sethi=freescale.com-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org] On Behalf discuss-bounces+Of jonsmirl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 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 acascaded PIC.quoted
quoted
-- Jon Smirl jonsmirl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org _______________________________________________ devicetree-discuss mailing list devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org https://lists.ozlabs.org/listinfo/devicetree-discuss-- Jon Smirl jonsmirl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org