lkml.org 
[lkml]   [2019]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH v4 03/10] of/irq: document properties for wakeup interrupt parent
    On Wed, Mar 13, 2019 at 10:19 PM Lina Iyer <ilina@codeaurora.org> wrote:

    > +Mapping the interrupt specifiers in the device tree can be done using the
    > +"irqdomain-map" property. The property contains interrupt specifier at the
    > +current interrupt controller followed by the interrupt specifier at the mapped
    > +interrupt controller.
    > +
    > + irqdomain-map = <incoming-interrupt-specifier mapped-interrupt-specifier>
    > +
    > +The optional properties "irqdomain-map-mask" and "irqdomain-map-pass-thru" may
    > +be provided to help interpret the valid bits of the incoming and mapped
    > +interrupt specifiers respectively.
    > +
    > + Example:
    > + irqdomain-map = <22 0 &intc 36 0>, <24 0 &intc 37 0>;
    > + irqdomain-map-mask = <0xff 0>;
    > + irqdomain-map-pass-thru = <0 0xff>;

    This is looking a bit familiar to the existing interrupt-map that is
    used for PCI interrupts and Swizzling back to a set of PCI
    host interrupts.

    I tried to document interrupt-map here:
    https://elinux.org/Device_Tree_Usage#Advanced_Interrupt_Mapping

    interrupt-map is a bit convoluted, so I don't know if it would be subject
    to reuse for this. I suspect that interrupt-map, despite the name,
    is for PCI only.

    Yours,
    Linus Walleij

    \
     
     \ /
      Last update: 2019-04-17 16:37    [W:5.105 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site