]> git.baikalelectronics.ru Git - kernel.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)
commit69c8ca8f31ee417263ee3e84c3e9c3cdd89f09fb
treeb9b29685a18b2aaf4522b6a2d6fe9a77cf9b09e3
parent18bb82398471a3d681215a1f5f1fba02de550114
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