irqchip: or1k-pic: Migrate from arch/openrisc/
authorStefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Mon, 26 May 2014 20:31:42 +0000 (23:31 +0300)
committerJason Cooper <jason@lakedaemon.net>
Tue, 1 Jul 2014 12:15:06 +0000 (12:15 +0000)
commit4db8e6d20ccb158de2e06d30a1a421f4d053e429
treec80aec29132c68f24c4d0292b5b2627f692f0f6a
parent1b0a76c146adce782ddb8e71f01729f5f3671c66
irqchip: or1k-pic: Migrate from arch/openrisc/

In addition to consolidating the or1k-pic with other interrupt
controllers, this makes OpenRISC less tied to its on-cpu
interrupt controller.

All or1k-pic specific parts are moved out of irq.c and into
drivers/irqchip/irq-or1k-pic.c

In that transition, the functionality have been divided into
three chip variants.
One that handles level triggered interrupts, one that handles edge
triggered interrupts and one that handles the interrupt
controller that is present in the or1200 OpenRISC cpu
implementation.

Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Link: https://lkml.kernel.org/r/1401136302-27654-1-git-send-email-stefan.kristiansson@saunalahti.fi
Acked-by: Jonas Bonn <jonas@southpole.se>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Documentation/devicetree/bindings/interrupt-controller/opencores,or1k-pic.txt [new file with mode: 0644]
arch/openrisc/Kconfig
arch/openrisc/include/asm/irq.h
arch/openrisc/kernel/irq.c
drivers/irqchip/Kconfig
drivers/irqchip/Makefile
drivers/irqchip/irq-or1k-pic.c [new file with mode: 0644]