• Kevin Cernekee's avatar
    IRQCHIP: bcm7120-l2: Split STB-specific logic into its own function · ca40f1b2
    Kevin Cernekee authored
    The BCM7xxx instances of this block (listed in the register manual as
    simply "IRQ0") all have the following items in common:
    
     - brcm,int-map-mask: for routing different bits in the L2 to different
       parent IRQs
    
     - brcm,int-fwd-mask: for hardwiring certain IRQs to bypass the L2 and
       use dedicated L1 lines
    
     - one enable/status pair (32 bits only)
    
    Much of the driver code can be shared with BCM3380-style controllers, but
    in order to do this cleanly, let's split out the BCM7xxx-specific logic
    first.
    Signed-off-by: default avatarKevin Cernekee <cernekee@gmail.com>
    Cc: f.fainelli@gmail.com
    Cc: jaedon.shin@gmail.com
    Cc: abrestic@chromium.org
    Cc: tglx@linutronix.de
    Cc: jason@lakedaemon.net
    Cc: jogo@openwrt.org
    Cc: arnd@arndb.de
    Cc: computersforpeace@gmail.com
    Cc: linux-mips@linux-mips.org
    Cc: devicetree@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/8842/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    ca40f1b2
irq-bcm7120-l2.c 7.26 KB