Re: [PATCH] [RFC] Using hierarchy irqdomian to implement MTK intpol.
From: Arnd Bergmann
Date: Thu Sep 25 2014 - 15:21:30 EST
On Thursday 25 September 2014, Thomas Gleixner wrote:
> On Thu, 25 Sep 2014, Joe.C wrote:
> > From: "Joe.C" <yingjoe.chen@xxxxxxxxxxxx>
> >
> > Here's the first draft of using hierarchy irqdomain to implement MTK intpol
> > support. I have tested it and intpol works fine. Before continue, I'd like
> > to get your comments. This is based on Jiang's hierarchy irqdomian [1] and
> > my mediatek SoC basic support [2].
> >
> > Simplified block diagram for interrupt:
> >
> > --------- ---------
> > ---| CIRQ |------|ARM GIC|
> > ---| |------| |
> > ---| |------| |
> > ---| |------| |
> > ---| |------| |
> > --------- ---------
> >
> > In device tree, interrupt-parent for other devices is cirq, child of gic.
> > This describe HW better and allow device to specify polarity as it is sent
> > by the device. I'm using interrupt-parent to specify irq domain parent in
> > cirq now. Maybe adding another name like 'interrupt-domain-parent' will be
> > better.
>
> I leave that to the DT folks.
interrupt-parent really defines a domain already, I think using this is
perfectly fine.
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/