• Paul Burton's avatar
    MIPS: SEAD3: Probe interrupt controllers using DT · b6d5e47e
    Paul Burton authored
    Probe the CPU interrupt controller & optional Global Interrupt
    Controller (GIC) using devicetree rather than platform code. Because the
    bootloader on SEAD3 does not provide a device tree to the kernel & the
    device tree is always built in, we patch out the GIC node during boot if
    we detect that a GIC is not present in the system.
    
    The appropriate IRQ domain is discovered by platform code setting up
    device IRQ numbers temporarily. It will be removed by further patches
    which move the devices towards being probed via device tree.
    
    No behavioural change is intended by this patch.
    Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
    Cc: Matt Redfearn <matt.redfearn@imgtec.com>
    Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
    Cc: Jacek Anaszewski <j.anaszewski@samsung.com>
    Cc: Rob Herring <robh+dt@kernel.org>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: linux-mips@linux-mips.org
    Cc: devicetree@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/14047/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    b6d5e47e
sead3-platform.c 5.64 KB