summaryrefslogtreecommitdiff
path: root/drivers/of/platform.c
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2016-09-20 00:21:23 +0300
committerRalf Baechle <ralf@linux-mips.org>2016-10-06 18:31:00 +0300
commit38ec82fe21cd99ad4d7f0dc883ef7ce9e9837176 (patch)
tree28131aec3dcd30f800691a7617b424433c3b03d9 /drivers/of/platform.c
parent0051fc2e7b84500c4ecf66cda4ac0879340600ef (diff)
downloadlinux-38ec82fe21cd99ad4d7f0dc883ef7ce9e9837176.tar.xz
MIPS: Malta: Probe interrupt controllers via DT
Probe the CPU, GIC & i8259 interrupt controllers present in the Malta system using device tree. This enables interrupts to be provided to devices using device tree as they are moved over to being probed using it. Since Malta is very configurable it's unknown whether a GIC will be present at compile time. In order to support both cases the malta_dt_shim code is added in order to detect whether a GIC is present, adjusting the DT to route interrupts correctly and nop out the GIC node if no GIC is found. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Kees Cook <keescook@chromium.org> Cc: Rob Herring <robh+dt@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Cc: devicetree@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/14274/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'drivers/of/platform.c')
0 files changed, 0 insertions, 0 deletions