]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - drivers/irqchip/irq-crossbar.c
DRIVERS: IRQCHIP: CROSSBAR: Add support for Crossbar IP
authorSricharan R <r.sricharan@ti.com>
Tue, 3 Dec 2013 10:27:23 +0000 (15:57 +0530)
committerSricharan R <r.sricharan@ti.com>
Wed, 5 Feb 2014 14:38:34 +0000 (20:08 +0530)
commit96ca848ef7ea1be7e92d1cceb34ef3aa86053828
treee57b452cb1a6f383f5c9dcc346bf53e062ced0da
parent006e983bbc805431c44e2135e13841f66059a045
DRIVERS: IRQCHIP: CROSSBAR: Add support for Crossbar IP

Some socs have a large number of interrupts requests to service
the needs of its many peripherals and subsystems. All of the
interrupt lines from the subsystems are not needed at the same
time, so they have to be muxed to the irq-controller appropriately.
In such places a interrupt controllers are preceded by an CROSSBAR
that provides flexibility in muxing the device requests to the controller
inputs.

This driver takes care a allocating a free irq and then configuring the
crossbar IP as a part of the mpu's irqchip callbacks. crossbar_init should
be called right before the irqchip_init, so that it is setup to handle the
irqchip callbacks.

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Rajendra Nayak <rnayak@ti.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Sricharan R <r.sricharan@ti.com>
Acked-by: Kumar Gala <galak@codeaurora.org> (for DT binding portion)
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Documentation/devicetree/bindings/arm/omap/crossbar.txt [new file with mode: 0644]
drivers/irqchip/Kconfig
drivers/irqchip/Makefile
drivers/irqchip/irq-crossbar.c [new file with mode: 0644]
include/linux/irqchip/irq-crossbar.h [new file with mode: 0644]