mfd: max8998: Add irq domain support
authorTomasz Figa <t.figa@samsung.com>
Mon, 24 Jun 2013 12:39:52 +0000 (14:39 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 30 Jun 2013 21:29:44 +0000 (23:29 +0200)
commit443c6ae253e96db9a5800a28d7c61131e81c2dee
treec9df532a7f81a8799fe52f6845504b275803e58e
parentb5c46787df1f28b0a24499e275491ba9a505c8ec
mfd: max8998: Add irq domain support

This patch adds irq domain support for max8998 interrupts.

To keep both non-DT and DT worlds happy, simple domain is used, which is
linear when no explicit IRQ base is specified and legacy, with static
mapping, otherwise.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/Kconfig
drivers/mfd/max8998-irq.c
drivers/rtc/rtc-max8998.c
include/linux/mfd/max8998-private.h
include/linux/mfd/max8998.h