1. 25 11月, 2013 3 次提交
  2. 15 11月, 2013 1 次提交
  3. 06 11月, 2013 1 次提交
  4. 05 11月, 2013 1 次提交
  5. 04 11月, 2013 3 次提交
  6. 29 10月, 2013 2 次提交
  7. 27 10月, 2013 2 次提交
  8. 23 10月, 2013 4 次提交
  9. 19 10月, 2013 1 次提交
    • T
      pinctrl: single: Fix build when not built on ARM · 1b9c0fb3
      Tony Lindgren 提交于
      Looks like we need a little bit of arch specific handling
      with the generic IRQ. Fix the issue with an ifdef the
      same way as other drivers do.
      
      ARM needs things set to IRQF_VALID, which also then sets
      noprobe. Others seem to use just irq_set_noprobe().
      
      Otherwise we can get:
      
      drivers/pinctrl/pinctrl-single.c: In function 'pcs_irqdomain_map':
      drivers/pinctrl/pinctrl-single.c:1750:2: error: implicit declaration of function 'set_irq_flags' [-Werror=implicit-function-declaration]
      drivers/pinctrl/pinctrl-single.c:1750:21: error: 'IRQF_VALID' undeclared (first use in this function)
      drivers/pinctrl/pinctrl-single.c:1750:34: error: 'IRQF_PROBE' undeclared (first use in this function)
      Reported-by: NRandy Dunlap <rdunlap@infradead.org>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      1b9c0fb3
  10. 16 10月, 2013 10 次提交
  11. 11 10月, 2013 2 次提交
    • T
      pinctrl: single: Add support for auxdata · dc7743aa
      Tony Lindgren 提交于
      For omaps, we still have dependencies to the legacy code
      for handling the PRM (Power Reset Management) interrupts,
      and also for reconfiguring the io wake-up chain after
      changes.
      
      Let's pass the PRM interrupt and the rearm functions via
      auxdata. Then when at some point we have a proper PRM
      driver, we can get the interrupt via device tree and
      set up the rearm function as exported function in the
      PRM driver.
      
      By using auxdata we can remove a dependency to the
      wake-up events for converting omap3 to be device
      tree only.
      
      Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
      Cc: Grygorii Strashko <grygorii.strashko@ti.com>
      Cc: Prakash Manjunathappa <prakash.pm@ti.com>
      Cc: Roger Quadros <rogerq@ti.com>
      Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
      Cc: linux-kernel@vger.kernel.org
      Reviewed-by: NKevin Hilman <khilman@linaro.org>
      Tested-by: NKevin Hilman <khilman@linaro.org>
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      dc7743aa
    • T
      pinctrl: single: Add support for wake-up interrupts · 3e6cee17
      Tony Lindgren 提交于
      The pin control registers can have interrupts for example
      for device wake-up. These interrupts can be treated as a
      chained interrupt controller as suggested earlier by
      Linus Walleij <linus.walleij@linaro.org>.
      
      This patch adds support for interrupts in a way that
      should be pretty generic, and works for the omaps that
      support wake-up interrupts. On omaps, there's an
      interrupt enable and interrupt status bit for each pin.
      The two pinctrl domains on omaps share a single interrupt
      from the PRM chained interrupt handler. Support for
      other similar hardware should be easy to add.
      
      Note that this patch does not attempt to handle the
      wake-up interrupts automatically unlike the earlier
      patches. This patch allows the device drivers to do
      a request_irq() on the wake-up pins as needed. I'll
      try to do also a separate generic patch for handling
      the wake-up events automatically.
      
      Also note that as this patch makes the pinctrl-single
      an irq controller, the current bindings need some
      extra trickery to use interrupts from two different
      interrupt controllers for the same driver. So it
      might be worth waiting a little on the patches
      enabling the wake-up interrupts from drivers as there
      should be a generic way to handle it coming. And also
      there's been discussion of interrupts-extended binding
      for using interrupts from multiple interrupt controllers.
      
      In any case, this patch should be ready to go allowing
      handling the wake-up interrupts in a generic way, or
      separately from the device drivers.
      
      Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
      Cc: Grygorii Strashko <grygorii.strashko@ti.com>
      Cc: Prakash Manjunathappa <prakash.pm@ti.com>
      Cc: Roger Quadros <rogerq@ti.com>
      Cc: linux-kernel@vger.kernel.org
      Cc: Benoît Cousson <bcousson@baylibre.com>
      Cc: devicetree@vger.kernel.org
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      Acked-by: NHaojian Zhuang <haojian.zhuang@gmail.com>
      Reviewed-by: NKevin Hilman <khilman@linaro.org>
      Tested-by: NKevin Hilman <khilman@linaro.org>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      3e6cee17
  12. 10 10月, 2013 2 次提交
  13. 09 10月, 2013 2 次提交
  14. 08 10月, 2013 5 次提交
  15. 27 9月, 2013 1 次提交