]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: OMAP: hwmod: add support for selecting mpu_irq for each wakeup pad
authorTero Kristo <t-kristo@ti.com>
Fri, 16 Dec 2011 21:36:59 +0000 (14:36 -0700)
committerPaul Walmsley <paul@pwsan.com>
Fri, 16 Dec 2011 21:36:59 +0000 (14:36 -0700)
commitabc2d5456334d548328978d0b0d22c0e5d44cdcd
treee274951ab35883a19abbbdf2b497afe95dc88ae3
parent13a3fe52f7525d7b327f1f6766826fe9668bd749
ARM: OMAP: hwmod: add support for selecting mpu_irq for each wakeup pad

By default all registered pads will trigger mpu_irqs[0]. Now there is
an API for selecting used mpu_irq on pad basis, which can be used to
trigger different irq handlers for different pads in the same hwmod.
Each pad that requires its interrupt to be re-routed this way must
have a separate call to omap_hwmod_pad_route_irq(hwmod, pad, irq).

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Tested-by: Kevin Hilman <khilman@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
[paul@pwsan.com: moved fn to omap_hwmod.c; separated fn from mux scan_wakeups
 changes; added kerneldoc]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod.c
arch/arm/plat-omap/include/plat/omap_hwmod.h