mfd: Add WM8994 interrupt controller support
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 26 Mar 2010 16:49:15 +0000 (16:49 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 5 Apr 2010 18:18:07 +0000 (19:18 +0100)
commitc9fbf7e070bbf9cc7adc1420df87706c62cb04ed
tree38770c150750f3f11b59643302312762494b546e
parent8c0d8fa26ba5ec1f69e88044c671dab58c51e0e1
mfd: Add WM8994 interrupt controller support

The WM8994 has an interrupt controller which supports interrupts for
both CODEC and GPIO portions of the chip. Support this using genirq,
while allowing for systems that do not have an interrupt hooked up.

Wrapper functions are provided for the IRQ request and free to simplify
the code in consumer drivers when handling cases where IRQs are not
set up.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/Kconfig
drivers/mfd/Makefile
drivers/mfd/wm8994-core.c
drivers/mfd/wm8994-irq.c [new file with mode: 0644]
include/linux/mfd/wm8994/core.h
include/linux/mfd/wm8994/pdata.h