Benoit Cousson 78518ffa08 mfd: Move twl-core IRQ allocation into twl[4030|6030]-irq files
During DT adaptation, the irq_alloc_desc was added into twl-core, but
due to the rather different and weird IRQ management required by the twl4030,
it is much better to have a different approach for it.
The issue is that twl4030 uses a two level IRQ mechanism but handles all the
PWR interrupts as part of the twl-core interrupt range. It ends up with a
range of 16 interrupts total for CORE and PWR.

The other twl4030 functionalities already have a dedicated driver and thus
their IRQs and irqdomain can and should be defined localy.

twl6030 is using a single level IRQ controller and thus does not require any
trick.

Move the irq_alloc_desc and irq_domain_add_legacy in twl4030-irq and
twl6030-irq.

Allocate together CORE and PWR IRQs for twl4030-irq.

Conflicts:

        drivers/mfd/twl-core.c

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2012-03-22 13:04:33 +01:00
..
2012-03-06 18:46:57 +01:00
2012-03-16 21:12:32 +01:00
2011-10-24 14:09:19 +02:00
2011-03-31 11:26:23 -03:00
2012-03-20 16:56:33 +01:00
2012-03-20 16:56:33 +01:00
2012-01-09 01:03:34 +01:00
2011-03-27 00:09:51 +01:00
2012-03-06 18:46:47 +01:00
2011-05-26 19:45:28 +02:00
2011-05-26 19:45:28 +02:00
2012-01-09 00:37:44 +01:00
2012-03-20 16:56:33 +01:00
2011-03-31 11:26:23 -03:00