1. 18 12月, 2015 1 次提交
    • L
      irqchip/gic: Kconfig the number of instances · a27d21e0
      Linus Walleij 提交于
      There is currently a hack in the GIC driver making it possible
      to pass the number of GIC instances from the platform-specific
      include files and thus override the variable MAX_GIC_NR.
      
      With multiplatform deployments, this will not work as we need
      to get rid of the platform-specific include files.
      
      It turns out that this feature is only used by the RealView
      platform which has a cascaded GIC. So move the configuration
      to Kconfig and bump to 2 instances if we're building for the
      RealView. The include file hacks can then be removed.
      
      Tested on the ARM PB11MPCore with its cascaded GIC.
      Suggested-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NMarc Zyngier <marc.zyngier@arm.com>
      a27d21e0
  2. 14 10月, 2015 1 次提交
  3. 30 9月, 2015 1 次提交
  4. 25 8月, 2015 1 次提交
  5. 01 8月, 2015 1 次提交
  6. 23 6月, 2015 1 次提交
  7. 22 6月, 2015 2 次提交
  8. 18 5月, 2015 1 次提交
  9. 01 4月, 2015 1 次提交
    • K
      IRQCHIP: Add new driver for BCM7038-style level 1 interrupt controllers · 5f7f0317
      Kevin Cernekee 提交于
      This is the main peripheral IRQ controller on the BCM7xxx MIPS chips;
      it has the following characteristics:
      
       - 64 to 160+ level IRQs
       - Atomic set/clear registers
       - Reasonably predictable register layout (N status words, then N
         mask status words, then N mask set words, then N mask clear words)
       - SMP affinity supported on most systems
       - Typically connected to MIPS IRQ 2,3,2,3 on CPUs 0,1,2,3
      
      This driver registers one IRQ domain and one IRQ chip to cover all
      instances of the block.  Up to 4 instances of the block may appear, as
      it supports 4-way IRQ affinity on BCM7435.
      
      The same block exists on the ARM BCM7xxx chips, but typically the ARM GIC
      is used instead.  So this driver is primarily intended for MIPS STB chips.
      Signed-off-by: NKevin 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/8844/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      5f7f0317
  10. 04 3月, 2015 1 次提交
  11. 26 11月, 2014 4 次提交
  12. 24 11月, 2014 1 次提交
  13. 09 11月, 2014 2 次提交
  14. 02 11月, 2014 1 次提交
  15. 26 9月, 2014 1 次提交
  16. 17 9月, 2014 1 次提交
  17. 18 8月, 2014 1 次提交
  18. 17 7月, 2014 1 次提交
  19. 13 7月, 2014 1 次提交
  20. 09 7月, 2014 1 次提交
  21. 01 7月, 2014 1 次提交
  22. 27 5月, 2014 1 次提交
  23. 01 3月, 2014 1 次提交
  24. 05 2月, 2014 1 次提交
    • S
      DRIVERS: IRQCHIP: CROSSBAR: Add support for Crossbar IP · 96ca848e
      Sricharan R 提交于
      Some socs have a large number of interrupts requests to service
      the needs of its many peripherals and subsystems. All of the
      interrupt lines from the subsystems are not needed at the same
      time, so they have to be muxed to the irq-controller appropriately.
      In such places a interrupt controllers are preceded by an CROSSBAR
      that provides flexibility in muxing the device requests to the controller
      inputs.
      
      This driver takes care a allocating a free irq and then configuring the
      crossbar IP as a part of the mpu's irqchip callbacks. crossbar_init should
      be called right before the irqchip_init, so that it is setup to handle the
      irqchip callbacks.
      
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Rajendra Nayak <rnayak@ti.com>
      Cc: Marc Zyngier <marc.zyngier@arm.com>
      Cc: Grant Likely <grant.likely@linaro.org>
      Cc: Rob Herring <rob.herring@calxeda.com>
      Signed-off-by: NSricharan R <r.sricharan@ti.com>
      Acked-by: Kumar Gala <galak@codeaurora.org> (for DT binding portion)
      Acked-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      Acked-by: NThomas Gleixner <tglx@linutronix.de>
      96ca848e
  25. 15 1月, 2014 1 次提交
  26. 13 12月, 2013 1 次提交
  27. 21 8月, 2013 1 次提交
    • J
      irq-imgpdc: add ImgTec PDC irqchip driver · b6ef9161
      James Hogan 提交于
      Add irqchip driver for the ImgTec PowerDown Controller (PDC) as found in
      the TZ1090. The PDC has a number of general system wakeup (SysWake)
      interrupts (which would for example be connected to a power button or an
      external peripheral), and a number of peripheral interrupts which can
      also wake the system but are connected straight to specific low-power
      peripherals (such as RTC or Infrared). It has a single interrupt output
      for SysWakes, and individual interrupt outputs for each peripheral.
      
      The driver demuxes the SysWake interrupt line, and passes the peripheral
      interrupts straight through. It also handles the set_wake interrupt
      operation to enable/disable the appropriate wake event bits.
      Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
      Reviewed-by: NThomas Gleixner <tglx@linutronix.de>
      Cc: Grant Likely <grant.likely@linaro.org>
      Cc: Rob Herring <rob.herring@calxeda.com>
      Cc: Rob Landley <rob@landley.net>
      Cc: linux-metag@vger.kernel.org
      Cc: linux-doc@vger.kernel.org
      Cc: devicetree-discuss@lists.ozlabs.org
      b6ef9161
  28. 26 6月, 2013 2 次提交
  29. 11 6月, 2013 1 次提交
  30. 18 3月, 2013 2 次提交
    • M
      irqchip: Renesas IRQC driver · fbc83b7f
      Magnus Damm 提交于
      This patch adds a driver for external IRQ pins connected
      to the IRQC hardware block on recent SoCs from Renesas.
      
      The IRQC hardware block is used together with more
      recent ARM based SoCs using the GIC. As usual the GIC
      requires external IRQ trigger setup somewhere else
      which in this particular case happens to be IRQC.
      
      This driver implements the glue code needed to configure
      IRQ trigger and also handle mask/unmask and demux of
      external IRQ pins hooked up from the IRQC to the GIC.
      
      Tested on r8a73a4 but is designed to work with a wide
      range of SoCs. The driver requires one GIC SPI per
      external IRQ pin to operate.  Each driver instance
      will handle up to 32 external IRQ pins.
      
      The SoCs using this driver are currently mainly used
      together with regular platform devices so this driver
      allows configuration via platform data to support things
      like static interrupt base address. DT support will
      be added incrementally in the not so distant future.
      Signed-off-by: NMagnus Damm <damm@opensource.se>
      Tested-by: NGuennadi Liakhovetski <g.liakhovetski@gmx.de>
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      fbc83b7f
    • M
      irqchip: Renesas INTC External IRQ pin driver · 44358048
      Magnus Damm 提交于
      This patch adds a driver for external IRQ pins connected
      to the INTC block on recent SoCs from Renesas.
      
      The INTC hardware block usually contains a rather wide
      range of features ranging from external IRQ pin handling
      to legacy interrupt controller support. On older SoCs
      the INTC is used as a general purpose interrupt controller
      both for external IRQ pins and on-chip devices.
      
      On more recent ARM based SoCs with Cortex-A9 the main
      interrupt controller is the GIC, but IRQ trigger setup
      still need to happen in the INTC hardware block.
      
      This driver implements the glue code needed to configure
      IRQ trigger and also handle mask/unmask and demux of
      external IRQ pins hooked up from the INTC to the GIC.
      
      Tested on sh73a0 and r8a7779. The hardware varies quite
      a bit with SoC model, for instance register width and
      bitfield widths vary wildly. The driver requires one GIC
      SPI per external IRQ pin to operate.  Each driver instance
      will handle up to 8 external IRQ pins.
      
      The SoCs using this driver are currently mainly used
      together with regular platform devices so this driver
      allows configuration via platform data to support things
      like static interrupt base address. DT support will
      be added incrementally in the not so distant future.
      Signed-off-by: NMagnus Damm <damm@opensource.se>
      Acked-by: NThomas Gleixner <tglx@linutronix.de>
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      44358048
  31. 13 1月, 2013 2 次提交
  32. 11 1月, 2013 1 次提交
    • T
      irqchip: add basic infrastructure · f6e916b8
      Thomas Petazzoni 提交于
      With the recent creation of the drivers/irqchip/ directory, it is
      desirable to move irq controller drivers here. At the moment, the only
      driver here is irq-bcm2835, the driver for the irq controller found in
      the ARM BCM2835 SoC, present in Rasberry Pi systems. This irq
      controller driver was exporting its initialization function and its
      irq handling function through a header file in
      <linux/irqchip/bcm2835.h>.
      
      When proposing to also move another irq controller driver in
      drivers/irqchip, Rob Herring raised the very valid point that moving
      things to drivers/irqchip was good in order to remove more stuff from
      arch/arm, but if it means adding gazillions of headers files in
      include/linux/irqchip/, it would not be very nice.
      
      So, upon the suggestion of Rob Herring and Arnd Bergmann, this commit
      introduces a small infrastructure that defines a central
      irqchip_init() function in drivers/irqchip/irqchip.c, which is meant
      to be called as the ->init_irq() callback of ARM platforms. This
      function calls of_irq_init() with an array of match strings and init
      functions generated from a special linker section.
      
      Note that the irq controller driver initialization function is
      responsible for setting the global handle_arch_irq() variable, so that
      ARM platforms no longer have to define the ->handle_irq field in their
      DT_MACHINE structure.
      
      A global header, <linux/irqchip.h> is also added to expose the single
      irqchip_init() function to the reset of the kernel.
      
      A further commit moves the BCM2835 irq controller driver to this new
      small infrastructure, therefore removing the include/linux/irqchip/
      directory.
      Signed-off-by: NThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Reviewed-by: NStephen Warren <swarren@wwwdotorg.org>
      Reviewed-by: NRob Herring <rob.herring@calxeda.com>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      [rob.herring: reword commit message to reflect use of linker sections.]
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      f6e916b8