• Tero Kristo's avatar
    ARM: OMAP2+: mux: add support for PAD wakeup interrupts · 13a3fe52
    Tero Kristo authored
    OMAP mux now parses active wakeup events from pad registers and calls
    corresponding hwmod ISRs once a wakeup is detected. This is
    accomplished by registering an interrupt handler for PRCM IO event,
    which is raised every time the HW detects wakeups.
    
    [paul@pwsan.com: This patch is a merge of Govindraj R's "ARM: OMAP2+:
    hwmod: Add API to check IO PAD wakeup status" patch, Tero Kristo's
    "ARM: OMAP2+: mux: add support for PAD wakeup interrupts" patch, and
    part of Tero's "ARM: OMAP: mux: add support for selecting mpu_irq for
    each wakeup pad" patch.]
    Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
    Cc: Govindraj.R <govindraj.raja@ti.com>
    Tested-by: default avatarKevin Hilman <khilman@ti.com>
    Reviewed-by: default avatarKevin Hilman <khilman@ti.com>
    Acked-by: default avatarTony Lindgren <tony@atomide.com>
    [paul@pwsan.com: reduced indentation level; renamed omap_hwmod function;
     improved function documentation; modified to iterate only through dynamic
     pads; modified to skip pads where idle mode doesn't enable wakeups; split
     patches]
    Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
    13a3fe52
omap_hwmod.h 21.6 KB