mfd: Add irq domain support for max8997 interrupts
authorThomas Abraham <thomas.abraham@linaro.org>
Mon, 2 Jul 2012 00:02:55 +0000 (09:02 +0900)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 8 Jul 2012 22:16:13 +0000 (00:16 +0200)
commitb41511f713ccaef666e450fae8cb18909897fe4e
tree078c2a625964f7769a1fecc4fa5f6cf24dc2df68
parentbad76991d7847b7877ae797cc79745d82ffd9120
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.

Reviwed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
arch/arm/mach-exynos/mach-nuri.c
arch/arm/mach-exynos/mach-origen.c
drivers/mfd/Kconfig
drivers/mfd/max8997-irq.c
drivers/mfd/max8997.c
include/linux/mfd/max8997-private.h
include/linux/mfd/max8997.h
This page took 0.028825 seconds and 5 git commands to generate.