• Grant Likely's avatar
    of/irq: create interrupts-extended property · 79d97015
    Grant Likely authored
    The standard interrupts property in device tree can only handle
    interrupts coming from a single interrupt parent. If a device is wired
    to multiple interrupt controllers, then it needs to be attached to a
    node with an interrupt-map property to demux the interrupt specifiers
    which is confusing. It would be a lot easier if there was a form of the
    interrupts property that allows for a separate interrupt phandle for
    each interrupt specifier.
    
    This patch does exactly that by creating a new interrupts-extended
    property which reuses the phandle+arguments pattern used by GPIOs and
    other core bindings.
    Signed-off-by: default avatarGrant Likely <grant.likely@linaro.org>
    Acked-by: default avatarTony Lindgren <tony@atomide.com>
    Acked-by: default avatarKumar Gala <galak@codeaurora.org>
    [grant.likely: removed versatile platform hunks into separate patch]
    Cc: Rob Herring <rob.herring@calxeda.com>
    79d97015
tests-interrupts.dtsi 1.11 KB