]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: gic: add irq_domain support
authorRob Herring <rob.herring@calxeda.com>
Thu, 29 Sep 2011 02:25:31 +0000 (21:25 -0500)
committerArnd Bergmann <arnd@arndb.de>
Thu, 20 Oct 2011 15:58:29 +0000 (17:58 +0200)
commit2071a2a4b8ed52929e54fe1bf58f329ffbf3316f
treee062e744d82f8e0114c0eec727b93c1948d5beea
parent0b83b8048a306e01141c65e68d1ddc03b664ef73
ARM: gic: add irq_domain support

Convert the gic interrupt controller to use irq domains in preparation
for device-tree binding and MULTI_IRQ. This allows for translation between
GIC interrupt IDs and Linux irq numbers.

The meaning of irq_offset has changed. It now is just the number of skipped
GIC interrupt IDs for the controller. It will be 16 for primary GIC and 32
for secondary GICs.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Jamie Iles <jamie@jamieiles.com>
Tested-by: Thomas Abraham <thomas.abraham@linaro.org>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
arch/arm/common/Kconfig
arch/arm/common/gic.c
arch/arm/include/asm/hardware/gic.h