mfd: Add WM831x interrupt support
commit7d4d0a3e7343e3190afaa17253073db58e3d9bff
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 27 Jul 2009 13:45:53 +0000 (27 14:45 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 17 Sep 2009 07:46:57 +0000 (17 09:46 +0200)
tree586ad0e591e512a567e90588a35670034fd2a6ff
parentd2bedfe7a8b2f34beee2cad9cae74a088ee8ed07
mfd: Add WM831x interrupt support

The WM831x includes an interrupt controller managing interrupts for
the various functions on the chip. This patch adds support for the
core interrupt block on the device.

Ideally this would be supported by genirq, particularly for the
GPIOs, but currently genirq is unable to cope with controllers on
interrupt driven buses so we cut'n'paste the generic interface.
Once genirq is able to cope chips like this it should be a case
of filing the prefixes off the code and redoing wm831x-irq.c to
move over.

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