An error occurred fetching the project authors.
  1. 10 Oct, 2013 1 commit
    • Tony Lindgren's avatar
      pinctrl: single: Add support for wake-up interrupts · 3e6cee17
      Tony Lindgren authored
      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: default avatarLinus Walleij <linus.walleij@linaro.org>
      Acked-by: default avatarHaojian Zhuang <haojian.zhuang@gmail.com>
      Reviewed-by: default avatarKevin Hilman <khilman@linaro.org>
      Tested-by: default avatarKevin Hilman <khilman@linaro.org>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      3e6cee17
  2. 09 Oct, 2013 1 commit
  3. 28 Aug, 2013 1 commit
  4. 22 Jul, 2013 1 commit
  5. 17 Jun, 2013 1 commit
  6. 16 Jun, 2013 2 commits
  7. 14 May, 2013 1 commit
  8. 13 Mar, 2013 1 commit
  9. 07 Mar, 2013 5 commits
  10. 22 Jan, 2013 1 commit
    • Haojian Zhuang's avatar
      Revert "pinctrl: single: support gpio request and free" · 8b77b376
      Haojian Zhuang authored
      This reverts commit 2e8b2eab.
      
      Conflicts:
      	drivers/pinctrl/pinctrl-single.c
      
      ERROR: "__aeabi_uldivmod" [drivers/pinctrl/pinctrl-single.ko]
      undefined!]
      
      On Fri, Jan 11, 2013 at 4:00 PM, Russell King wrote:
      
      > The above error happens in builds including pinctrl-single - the
      > reason
      > is this, where resource_size_t may be 64-bit.
      >
      >                 gpio->range.pin_base = (r.start - pcs->res->start) /
      >                 mux_bytes;
      >                 gpio->range.npins = (r.end - r.start) / mux_bytes + 1;
      
      The reason of not fixing this issue and reverting the patch instead is
      this patch can't handle another case. It's not easy to handle multiple
      gpios sharing one pin register. So this gpio range feature will be
      implemented by other patches.
      Acked-by: default avatarTony Lindgren <tony@atomide.com>
      Signed-off-by: default avatarHaojian Zhuang <haojian.zhuang@linaro.org>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      8b77b376
  11. 03 Jan, 2013 1 commit
    • Greg Kroah-Hartman's avatar
      Drivers: pinctrl: remove __dev* attributes. · 150632b0
      Greg Kroah-Hartman authored
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitdata,
      and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
      Cc: Stephen Warren <swarren@wwwdotorg.org>
      Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
      Cc: Barry Song <baohua.song@csr.com>
      Cc: Viresh Kumar <viresh.linux@gmail.com>
      Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Cc: Jason Cooper <jason@lakedaemon.net>
      Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
      Cc: Andrew Lunn <andrew@lunn.ch>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      150632b0
  12. 28 Nov, 2012 3 commits
  13. 23 Nov, 2012 1 commit
  14. 21 Nov, 2012 1 commit
  15. 15 Nov, 2012 1 commit
  16. 28 Sep, 2012 1 commit
  17. 13 Sep, 2012 1 commit
  18. 10 Sep, 2012 1 commit
  19. 14 Jul, 2012 1 commit