]> git.openfabrics.org - ~emulex/infiniband.git/commit
mfd: add irq domain support for max8997 interrupts
authorThomas Abraham <thomas.abraham@linaro.org>
Sat, 24 Mar 2012 09:49:49 +0000 (15:19 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 16 Apr 2012 18:46:55 +0000 (19:46 +0100)
commit98d8618af37728f6e18e84110ddb99987b47dd12
treeb9b29685a18b2aaf4522b6a2d6fe9a77cf9b09e3
parentcd22a965c46e249843c049cbbfe3d9f12270ea2b
mfd: add irq domain support for max8997 interrupts

Add irq domain support for max8997 interrupts. The reverse mapping method
used is linear mapping since the sub-drivers of max8997 such as regulator
and charger drivers can use the max8997 irq_domain to get the linux irq
number for max8997 interrupts. All uses of irq_base in platform data and
max8997 driver private data are removed.

Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
arch/arm/mach-exynos/mach-nuri.c
arch/arm/mach-exynos/mach-origen.c
drivers/mfd/max8997-irq.c
drivers/mfd/max8997.c
include/linux/mfd/max8997-private.h
include/linux/mfd/max8997.h