1. 10 2月, 2016 1 次提交
  2. 06 1月, 2016 1 次提交
    • L
      regmap: irq: add support for configuration of trigger type · 7a78479f
      Laxman Dewangan 提交于
      Some of devices supports the trigger level for interrupt
      like rising/falling edge specially for GPIOs. The interrupt
      support of such devices may have uses the generic regmap irq
      framework for implementation.
      
      Add support to configure the trigger type device interrupt
      register via regmap-irq framework. The regmap-irq framework
      configures the trigger register only if the details of trigger
      type registers are provided.
      
      [Fixed use of terery operator for legibility -- broonie]
      Signed-off-by: NLaxman Dewangan <ldewangan@nvidia.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      7a78479f
  3. 20 11月, 2015 2 次提交
  4. 17 9月, 2015 2 次提交
  5. 22 8月, 2015 1 次提交
  6. 10 6月, 2015 1 次提交
    • R
      regmap: kill off set_irq_flags usage · e723f2ce
      Rob Herring 提交于
      set_irq_flags is ARM specific with custom flags which have genirq
      equivalents. Convert drivers to use the genirq interfaces directly, so we
      can kill off set_irq_flags. The translation of flags is as follows:
      
      IRQF_VALID -> !IRQ_NOREQUEST
      IRQF_PROBE -> !IRQ_NOPROBE
      IRQF_NOAUTOEN -> IRQ_NOAUTOEN
      
      For IRQs managed by an irqdomain, the irqdomain core code handles clearing
      and setting IRQ_NOREQUEST already, so there is no need to do this in
      .map() functions and we can simply remove the set_irq_flags calls. Some
      users also set IRQ_NOPROBE and this has been maintained although it is not
      clear that is really needed. There appears to be a great deal of blind
      copy and paste of this code.
      Signed-off-by: NRob Herring <robh@kernel.org>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      e723f2ce
  7. 03 6月, 2015 1 次提交
  8. 28 4月, 2015 1 次提交
  9. 14 2月, 2015 1 次提交
  10. 26 5月, 2014 1 次提交
  11. 14 3月, 2014 1 次提交
  12. 03 2月, 2014 1 次提交
  13. 17 12月, 2013 1 次提交
  14. 22 10月, 2013 1 次提交
    • Y
      regmap: irq: clear status when disable irq · 4bd7145b
      Yi Zhang 提交于
      clear the status bit if the mask register doesn't prevent
      the chip level irq from being asserted
      
      OR in the following sequence, there will be irq storm happens:
      1) interrupt is triggered;
      2) another thread disables it(the mask bit is set);
      3) _Then_ the interrupt thread is not ACKed(the status bit is not cleared),
         and it's ignored;
      4) if the irq is still asserted because of the uncleared status bit,
         the irq storm happens;
      Signed-off-by: NYi Zhang <yizhang@marvell.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      4bd7145b
  15. 24 7月, 2013 1 次提交
  16. 19 3月, 2013 1 次提交
  17. 01 3月, 2013 1 次提交
  18. 05 1月, 2013 3 次提交
  19. 03 1月, 2013 1 次提交
  20. 25 12月, 2012 1 次提交
  21. 15 10月, 2012 1 次提交
  22. 09 9月, 2012 1 次提交
  23. 31 8月, 2012 1 次提交
  24. 08 8月, 2012 1 次提交
  25. 04 8月, 2012 6 次提交
  26. 05 6月, 2012 2 次提交
  27. 03 6月, 2012 1 次提交
  28. 18 5月, 2012 1 次提交
  29. 15 5月, 2012 1 次提交
  30. 14 5月, 2012 1 次提交
    • M
      regmap: Convert regmap_irq to use irq_domain · 4af8be67
      Mark Brown 提交于
      This gets us up to date with the recommended current kernel infrastructure
      and should transparently give us device tree interrupt bindings for any
      devices using the framework. If an explicit IRQ mapping is passed in then
      a legacy interrupt range is created, otherwise a simple linear mapping is
      used. Previously a mapping was mandatory so existing drivers should not
      be affected.
      
      A function regmap_irq_get_virq() is provided to allow drivers to map
      individual IRQs which should be used in preference to the existing
      regmap_irq_chip_get_base() which is only valid if a legacy IRQ range is
      provided.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      4af8be67