]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mfd: twl4030 IRQ handling update
authorDavid Brownell <dbrownell@users.sourceforge.net>
Mon, 20 Oct 2008 21:46:28 +0000 (23:46 +0200)
committerSamuel Ortiz <samuel@sortiz.org>
Tue, 21 Oct 2008 23:19:37 +0000 (01:19 +0200)
commita30d46c042c8a17ef25de02f439fbd120ab8a8de
treec83c8136266862ecbe6d453887fabcbe564851e5
parent2515ddc6db8eb49a79f0fe5e67ff09ac7c81eab4
mfd: twl4030 IRQ handling update

- Move it into a separate file; clean and streamline it
 - Restructure the init code for reuse during secondary dispatch
 - Support both levels (primary, secondary) of IRQ dispatch
 - Use a workqueue for irq mask/unmask and trigger configuration

Code for two subchips currently share that secondary handler code.
One is the power subchip; its IRQs are now handled by this core,
courtesy of this patch.  The other is the GPIO module, which will
be supported through a later patch.

There are also minor changes to the header file, mostly related
to GPIO support; nothing yet in mainline cares about those.  A
few references to OMAP-specific symbols are disabled; when they
can all be removed, the TWL4030 support ceases being OMAP-specific.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
drivers/mfd/Makefile
drivers/mfd/twl4030-core.c
drivers/mfd/twl4030-irq.c [new file with mode: 0644]
include/linux/i2c/twl4030.h