mfd: arizona: Interrupt support
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 19 Jun 2012 15:34:23 +0000 (16:34 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 23 Jun 2012 12:30:41 +0000 (13:30 +0100)
commit966cdc96e15d113da80622bdddd63b461a7492f5
treef08f79ca29ddeeba3cd65a3448acd5c9c698d5dc
parent3cc72986947501a6a8fd12330e0963b59ed2f964
mfd: arizona: Interrupt support

Several forthcoming Wolfson devices are based on a common platform
known as Arizona allowing a great deal of reuse of driver code. This
patch adds support for the interrupt controller on Arizona class devices.
Since there are two interrupt domains in the device which share a single
/IRQ pin by default we use two regmap IRQ domains with a trivial demux
interrupt domain used to distribute the interrupts to the two devices.
The devices do support multiple interrupt signals, future work will enable
support for using this feature to avoid the demux.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/mfd/arizona-irq.c [new file with mode: 0644]