[PATCH v3 0/2] mfd: MAX8997: Support irq domain for Maxim MAX8997

From: Chanwoo Choi
Date: Wed May 16 2012 - 03:41:47 EST


This patchset add support irq domain for Maxim MAX8997 interrupts.

The first patch is based on patch written by Thomas Abraham and fix
two bug which set max8997->irq_domain instead of NULL pointer and
correct wrong parameter by Chanwoo Choi.
- https://lkml.org/lkml/2012/4/18/145
The second patch use irq domain for MAX8997 muic interrupt instead
of irq_base in platform data of MAX8997 driver.

I do explain the history of this patchset. The below patch was written
by Thomas Abraham and it was applied on regulator.git repository.
- http://git.kernel.org/?p=linux/kernel/git/broonie/regulator.git;a=commit;h=98d8618af37728f6e18e84110ddb99987b47dd12
But, this patch had occurred build break, it was reported by Stephen
Rothwell when build max8997-muic driver(drivers/misc/max8997-muic.c) and
then this patch was reverted by Mark Brown. You can check reverted patch
on below patch.
- http://git.kernel.org/?p=linux/kernel/git/broonie/regulator.git;a=commit;h=82b719b11fd750188c125078ad6a6c0d23219dfb

Then, I post this patchset which is based on patch written by Thomas Abraham
to add support irq domain for Max MAX8997 interrupts with bug fix. Also, I had
to modify max8997-muic driver to avoid build break.

But,I posted following patchset related to extcon-max8997 driver. The below
patchset support Extcon framework in extcon-max8997 driver to control
external connector instead of max8997-muic driver. So, first patch add
MAX8997 extcon driver(drivers/extcon/extcon-max8997.c) and last patch remove
old MAX8997 muic driver(drivers/misc/max8997-muic.c).
- https://lkml.org/lkml/2012/5/8/98
The patchset which add extcon-max8997 driver was applied in below
git repository of Greg Kroah-Hartman.
- http://git.kernel.org/?p=linux/kernel/git/gregkh/driver-core.git;a=shortlog;h=refs/heads/driver-core-next

So, I think that this patchset should be applied on the git reposity
of Greg to remove possible conflict issue when merged because old max8997-muic
driver(drivers/misc/max8997-muic.c) is existed on regulator.git of Mark
Brown.

v2
- Fix typo when free_irq() in max8997_muic_probe()

v3
- Fix build break when extcon-max8997 is built as module

Chanwoo Choi (1):
Extcon: MAX8997: Add support irq domain for MAX8997 muic

Thomas Abraham (1):
mfd: add irq domain support for max8997 interrupts

arch/arm/mach-exynos/mach-nuri.c | 4 --
arch/arm/mach-exynos/mach-origen.c | 1 -
drivers/extcon/Kconfig | 2 +-
drivers/extcon/extcon-max8997.c | 27 +++++++++------
drivers/mfd/max8997-irq.c | 62 +++++++++++++++++++++--------------
drivers/mfd/max8997.c | 1 -
include/linux/mfd/max8997-private.h | 4 ++-
include/linux/mfd/max8997.h | 1 -
8 files changed, 58 insertions(+), 44 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/