• David Brownell's avatar
    mfd: twl4030 IRQ handling update · a30d46c0
    David Brownell authored
    - 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: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    Signed-off-by: default avatarSamuel Ortiz <sameo@openedhand.com>
    a30d46c0
Makefile 914 Bytes