1. 17 6月, 2014 2 次提交
  2. 18 3月, 2013 1 次提交
    • M
      ARM: shmobile: INTC External IRQ pin driver on sh73a0 · 341eb546
      Magnus Damm 提交于
      Adjust the sh73a0 IRQ code to make use of the
      INTC External IRQ pin driver for external
      interrupt pins IRQ0 -> IRQ31.
      
      This removes quite a bit of special-case code
      in intc-sh73a0.c but the number of lines get
      replaced with platform device information in
      setup-sh73a0.c. The PFC code is also adjusted
      to make gpio_to_irq() return the correct
      interrupt number.
      
      At this point the DT reference implementations
      are not covered. In the future such code shall
      tie in the INTC External IRQ pin driver via
      DT, so this kind of verbose code is not needed
      for the long term DT case.
      Signed-off-by: NMagnus Damm <damm@opensource.se>
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      341eb546
  3. 13 3月, 2013 1 次提交
  4. 25 1月, 2013 2 次提交
    • S
      ARM: mach-shmobile: sh73a0: Allow initialisation of GIC by DT · a3f22db5
      Simon Horman 提交于
      This allows the GIC interrupt controller of the sh73a0 SoC to be
      initialised using a flattened device tree blob.
      
      It does not allow the INTC interrupt controller which is also present on
      the sh73a0 SoC to be enabled via device tree.  Nor does it handle sharing
      of interrupts between the GIC and INTC interrupt controllers.
      
      This limits the usefulness of this code to applications which only wish to
      access devices which use interrupts that can be handled by the GIC
      interrupt controller. Other applications should, for now, continue using
      non-device tree initialisation of the sh72a0 interrupt controllers.
      
      Includes update to use irqchip_init() by Thierry Reding
      
      Cc: Thierry Reding <thierry.reding@avionic-design.de>
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      a3f22db5
    • M
      ARM: mach-shmobile: sh73a0 external IRQ wake update · 6333ae14
      Magnus Damm 提交于
      Use sh73a0_set_wake() for external IRQ signals on sh73a0.
      
      The sh73a0 IRQ hardware for external IRQ pins consists of
      the INTCA interrupt controller and the GIC together doing
      their best to limp along. These external IRQ pins are
      treated as a special case where interrupts need to be
      managed in both interrupt controllers in parallel.
      
      The ->irq_set_wake() callback for the external IRQ pins
      can be dealt with in the same way as INTCA-only without
      involving the GIC. So this patch updates the external
      IRQ pin code for sh73a0 to no longer involve the GIC.
      Signed-off-by: NMagnus Damm <damm@opensource.se>
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      6333ae14
  5. 13 1月, 2013 1 次提交
    • R
      irqchip: Move ARM gic.h to include/linux/irqchip/arm-gic.h · 520f7bd7
      Rob Herring 提交于
      Now that we have GIC moved to drivers/irqchip and all GIC DT init for
      platforms using irqchip_init, move gic.h and update the remaining
      includes.
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Anton Vorontsov <avorontsov@mvista.com>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Cc: Sascha Hauer <kernel@pengutronix.de>
      Cc: David Brown <davidb@codeaurora.org>
      Cc: Daniel Walker <dwalker@fifo99.com>
      Cc: Bryan Huntsman <bryanh@codeaurora.org>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: Magnus Damm <magnus.damm@gmail.com>
      Cc: Viresh Kumar <viresh.linux@gmail.com>
      Cc: Shiraz Hashim <shiraz.hashim@st.com>
      Cc: Stephen Warren <swarren@wwwdotorg.org>
      Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Samuel Ortiz <sameo@linux.intel.com>
      520f7bd7
  6. 18 9月, 2012 1 次提交
    • A
      ARM: shmobile: use __iomem pointers for MMIO · 0a4b04dc
      Arnd Bergmann 提交于
      ARM is moving to stricter checks on readl/write functions,
      so we need to use the correct types everywhere.
      
      This patch is a bit ugly for shmobile, which is the only platform
      that just uses integer literals all over the place, but I can't
      see a better way to do this.
      Acked-by: NSimon Horman <horms@verge.net.au>
      Cc: Magnus Damm <magnus.damm@gmail.com>
      Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: linux-sh@vger.kernel.org
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      0a4b04dc
  7. 22 8月, 2012 1 次提交
  8. 14 3月, 2012 1 次提交
  9. 26 1月, 2012 1 次提交
  10. 18 1月, 2012 1 次提交
  11. 05 11月, 2011 2 次提交
  12. 14 6月, 2011 1 次提交
  13. 14 1月, 2011 1 次提交
  14. 07 1月, 2011 1 次提交
  15. 22 12月, 2010 1 次提交
    • M
      ARM: mach-shmobile: sh73a0 INTCS support · 5f53a56a
      Magnus Damm 提交于
      Add INTCS support for the sh73a0 processor.
      
      The interrupts on the sh73a0 processor are managed
      through controllers such as GIC, INTCS and INTCA.
      
      The ARM cores use the GIC as primary interrupt
      controller and the INTCS and INTCA are hanging off
      the GIC as cascaded interrupt controllers.
      
      Peripherals connected both to the GIC and the INTC
      controllers should if possible only use the GIC.
      
      If no GIC connection is available then INTCS and
      INTCA may be used instead.
      Signed-off-by: NMagnus Damm <damm@opensource.se>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      5f53a56a