1. 17 2月, 2016 3 次提交
  2. 26 1月, 2016 1 次提交
  3. 24 1月, 2016 1 次提交
  4. 29 12月, 2015 1 次提交
  5. 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
  6. 14 10月, 2015 1 次提交
  7. 30 9月, 2015 1 次提交
  8. 25 8月, 2015 1 次提交
  9. 01 8月, 2015 1 次提交
  10. 23 6月, 2015 1 次提交
  11. 22 6月, 2015 2 次提交
  12. 18 5月, 2015 1 次提交
  13. 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
  14. 04 3月, 2015 1 次提交
  15. 26 11月, 2014 4 次提交
  16. 24 11月, 2014 1 次提交
  17. 09 11月, 2014 2 次提交
  18. 02 11月, 2014 1 次提交
  19. 26 9月, 2014 1 次提交
  20. 17 9月, 2014 1 次提交
  21. 18 8月, 2014 1 次提交
  22. 17 7月, 2014 1 次提交
  23. 13 7月, 2014 1 次提交
  24. 09 7月, 2014 1 次提交
  25. 01 7月, 2014 1 次提交
  26. 27 5月, 2014 1 次提交
  27. 01 3月, 2014 1 次提交
  28. 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
  29. 15 1月, 2014 1 次提交
  30. 13 12月, 2013 1 次提交
  31. 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
  32. 26 6月, 2013 1 次提交