aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2012-03-28 06:23:03 -0400
committerRafael J. Wysocki <rjw@sisk.pl>2012-04-11 06:11:49 -0400
commit2ff6530c065814035df505ae8a6ddf461b3441d3 (patch)
treed1c491d0bdcac969c6eda7c2ce952468313d8ae8
parent1ee8299a9ec1ce5137a044c7768293007b9a3267 (diff)
ARM: mach-shmobile: Use INTC_IRQ_PINS_16H on sh7372
Use INTC_IRQ_PINS_16H on sh7372 to have two separate interrupt controllers for the external IRQ pins. This is preparation work for future IRQ domain support. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
-rw-r--r--arch/arm/mach-shmobile/intc-sh7372.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/arch/arm/mach-shmobile/intc-sh7372.c b/arch/arm/mach-shmobile/intc-sh7372.c
index 6447e0af52d4..0ba8b7b69f60 100644
--- a/arch/arm/mach-shmobile/intc-sh7372.c
+++ b/arch/arm/mach-shmobile/intc-sh7372.c
@@ -305,8 +305,12 @@ static DECLARE_INTC_DESC(intca_desc, "sh7372-intca",
305 intca_mask_registers, intca_prio_registers, 305 intca_mask_registers, intca_prio_registers,
306 NULL); 306 NULL);
307 307
308INTC_IRQ_PINS_32(intca_irq_pins, 0xe6900000, 308INTC_IRQ_PINS_16(intca_irq_pins_lo, 0xe6900000,
309 INTC_VECT, "sh7372-intca-irq-pins"); 309 INTC_VECT, "sh7372-intca-irq-lo");
310
311INTC_IRQ_PINS_16H(intca_irq_pins_hi, 0xe6900000,
312 INTC_VECT, "sh7372-intca-irq-hi");
313
310enum { 314enum {
311 UNUSED_INTCS = 0, 315 UNUSED_INTCS = 0,
312 ENABLED_INTCS, 316 ENABLED_INTCS,
@@ -563,7 +567,8 @@ void __init sh7372_init_irq(void)
563 intcs_ffd5 = ioremap_nocache(0xffd50000, PAGE_SIZE); 567 intcs_ffd5 = ioremap_nocache(0xffd50000, PAGE_SIZE);
564 568
565 register_intc_controller(&intca_desc); 569 register_intc_controller(&intca_desc);
566 register_intc_controller(&intca_irq_pins_desc); 570 register_intc_controller(&intca_irq_pins_lo_desc);
571 register_intc_controller(&intca_irq_pins_hi_desc);
567 register_intc_controller(&intcs_desc); 572 register_intc_controller(&intcs_desc);
568 573
569 /* demux using INTEVTSA */ 574 /* demux using INTEVTSA */