mfd: max8998: Add irq domain support
authorTomasz Figa <t.figa@samsung.com>
Mon, 24 Jun 2013 12:39:52 +0000 (14:39 +0200)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:44:04 +0000 (11:44 +0900)
commit04a8b0fe57cedbc137aa54807521e19efb4b6698
tree317ad7134295ecd68a3bf02e3d2f0b24aaead7e6
parenta77232f395cf83a10a1ce11505dd0245e0722547
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