[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110811163427.GD5154@e102144-lin.cambridge.arm.com>
Date: Thu, 11 Aug 2011 17:34:27 +0100
From: Will Deacon <will.deacon@....com>
To: Rob Herring <robherring2@...il.com>
Cc: Mark Rutland <Mark.Rutland@....com>,
"linux@....linux.org.uk" <linux@....linux.org.uk>,
Arnd Bergmann <arnd@...db.de>,
"devicetree-discuss@...ts.ozlabs.org"
<devicetree-discuss@...ts.ozlabs.org>,
"'Barry Song'" <21cnbao@...il.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"workgroup.linux@....com" <workgroup.linux@....com>,
"'Grant Likely'" <grant.likely@...retlab.ca>,
"weizeng.he@....com" <weizeng.he@....com>,
"'Olof Johansson'" <olof@...om.net>,
"tglx@...utronix.de" <tglx@...utronix.de>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: Subject: L2x0 OF properties do not include interrupt #
On Thu, Aug 11, 2011 at 05:06:23PM +0100, Rob Herring wrote:
> On 08/11/2011 10:38 AM, Will Deacon wrote:
> >
> > You mean putting the combined interrupt first? If so, we may as well just
> > specify that until somebody builds a platform that doesn't have it.
> >
>
> No, either you have 1 interrupt and it is the combined one. or you have
> the 9? separate interrupts. Having both combined and separate hooked up
> is a bit dumb, so I would not worry about that case. I would just define
> the event counter interrupt 1st as that is probably the primary use.
> Also, I think that was the only interrupt on the L2x0 controllers IIRC.
>
> It's also conceivable that some of the interrupts get routed somewhere
> else rather than just into the GIC.
Ok. I think the binding that Mark posted to devicetree-discuss:
http://lists.ozlabs.org/pipermail/devicetree-discuss/2011-August/007349.html
will take care of this. We have a single interrupt (I don't think we even
need to specify what it is). Interrupt handlers can request this with
IRQ_SHARED and then check the status register to see whether they actually
need to do anything.
Will
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists