aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2007-07-20 12:10:29 +0900
committerPaul Mundt <lethal@linux-sh.org>2007-07-20 12:18:21 +0900
commit39c7aa9ea9b6175f4313f69ef9f8e0a3a9bba5bb (patch)
tree4effb54c779136032f35acddc620077abcb4cd9c /include
parent680c45981ae2b4029878806d76aa17bb62d3c674 (diff)
sh: intc - add support for 7780
This patch converts the cpu specific 7780 setup code to use the new intc controller. Many new vectors are added and also support for external interrupt sense configuration. So with this patch it is now possible to configure external interrupt pins as edge or level triggered using set_irq_type(). No external interrupts are registered by default. Use plat_irq_setup_pins() to select between IRQ or IRL mode. This patch also fixes the Alarm IRQ for the RTC. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-sh/hw_irq.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-sh/hw_irq.h b/include/asm-sh/hw_irq.h
index 92c9efd9276..8c5e11b3ae3 100644
--- a/include/asm-sh/hw_irq.h
+++ b/include/asm-sh/hw_irq.h
@@ -115,4 +115,7 @@ void __init register_intc_controller(struct intc_desc *desc);
void __init plat_irq_setup(void);
+enum { IRQ_MODE_IRQ, IRQ_MODE_IRL7654, IRQ_MODE_IRL3210 };
+void __init plat_irq_setup_pins(int mode);
+
#endif /* __ASM_SH_HW_IRQ_H */