1. 29 12月, 2015 1 次提交
  2. 18 12月, 2015 2 次提交
    • M
      irqchip/mgigen: Add platform device driver for mbigen device · 717c3dbc
      Ma Jun 提交于
      Mbigen means Message Based Interrupt Generator(MBIGEN).
      
      Its a kind of interrupt controller that collects
      the interrupts from external devices and generate msi interrupt.
      Mbigen is applied to reduce the number of wire connected interrupts.
      
      As the peripherals increasing, the interrupts lines needed is
      increasing much, especially on the Arm64 server SOC.
      
      Therefore, the interrupt pin in GIC is not enough to cover so
      many peripherals.
      
      Mbigen is designed to fix this problem.
      
      Mbigen chip locates in ITS or outside of ITS.
      
      Mbigen chip hardware structure shows as below:
      
      		mbigen chip
      |---------------------|-------------------|
      mgn_node0	  mgn_node1		mgn_node2
       |		 |-------|		|-------|------|
      dev1		dev1    dev2		dev1   dev3   dev4
      
      Each mbigen chip contains several mbigen nodes.
      
      External devices can connect to mbigen node through wire connecting way.
      
      Because a mbigen node only can support 128 interrupt maximum, depends
      on the interrupt lines number of devices, a device can connects to one
      more mbigen nodes.
      
      Also, several different devices can connect to a same mbigen node.
      
      When devices triggered interrupt,mbigen chip detects and collects
      the interrupts and generates the MBI interrupts by writing the ITS
      Translator register.
      
      To simplify mbigen driver,I used a new conception--mbigen device.
      Each mbigen device is initialized as a platform device.
      
      Mbigen device presents the parts(register, pin definition etc.) in
      mbigen chip corresponding to a peripheral device.
      
      So from software view, the structure likes below
      
      	            mbigen chip
           |---------------------|-----------------|
      mbigen device1       mbigen device2  mbigen device3
            |                   |                |
           dev1                dev2             dev3
      Reviewed-by: NMarc Zyngier <marc.zyngier@arm.com>
      Signed-off-by: NMa Jun <majun258@huawei.com>
      Signed-off-by: NMarc Zyngier <marc.zyngier@arm.com>
      717c3dbc
    • 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
  3. 14 10月, 2015 1 次提交
  4. 30 9月, 2015 1 次提交
  5. 25 8月, 2015 1 次提交
  6. 01 8月, 2015 1 次提交
  7. 23 6月, 2015 1 次提交
  8. 22 6月, 2015 2 次提交
  9. 18 5月, 2015 1 次提交
  10. 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
  11. 04 3月, 2015 1 次提交
  12. 26 11月, 2014 4 次提交
  13. 24 11月, 2014 1 次提交
  14. 09 11月, 2014 2 次提交
  15. 02 11月, 2014 1 次提交
  16. 26 9月, 2014 1 次提交
  17. 17 9月, 2014 1 次提交
  18. 18 8月, 2014 1 次提交
  19. 17 7月, 2014 1 次提交
  20. 13 7月, 2014 1 次提交
  21. 09 7月, 2014 1 次提交
  22. 01 7月, 2014 1 次提交
  23. 27 5月, 2014 1 次提交
  24. 01 3月, 2014 1 次提交
  25. 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
  26. 15 1月, 2014 1 次提交
  27. 13 12月, 2013 1 次提交
  28. 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
  29. 26 6月, 2013 2 次提交
  30. 11 6月, 2013 1 次提交
  31. 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
  32. 13 1月, 2013 1 次提交