1. 15 Aug, 2009 1 commit
  2. 06 Aug, 2009 2 commits
  3. 31 Jul, 2009 2 commits
  4. 25 Jul, 2009 1 commit
  5. 24 Aug, 2009 1 commit
  6. 31 Jul, 2009 1 commit
  7. 25 Jul, 2009 1 commit
  8. 31 Jul, 2009 1 commit
  9. 24 Jul, 2009 2 commits
  10. 24 Aug, 2009 1 commit
  11. 13 Jul, 2009 1 commit
  12. 29 Jun, 2009 1 commit
  13. 24 Aug, 2009 1 commit
  14. 26 Jun, 2009 1 commit
  15. 25 Jun, 2009 12 commits
  16. 24 Aug, 2009 1 commit
  17. 25 Jun, 2009 7 commits
  18. 02 Sep, 2009 1 commit
    • Daniel Glckner's avatar
      Many gpio chips allow to generate interrupts when the value of a pin · 00742665
      Daniel Glckner authored
      changes.  This patch gives usermode application the opportunity to make
      use of this feature by calling poll(2) on the /sys/class/gpio/gpioN/value
      sysfs file.  The edge to trigger can be set in the edge file in the same
      directory.  Possible values are "none", "rising", "falling", and "both".
      
      Using level triggers is not possible with current sysfs since nothing
      changes the GPIO value (and the IRQ keeps triggering).  Edge triggering
      will "just work".  Note that if there was an event between read() and
      poll(), the poll() returns immediately.
      
      Also note that this version only supports true GPIO interrupts.  Some
      later patch might be able to synthesize this behavior by timer-driven
      polling; some systems seem to need that.
      
      [dbrownell@users.sourceforge.net: align ids to 16 bit ids; whitespace]
      Signed-off-by: default avatarDaniel Glöckner <dg@emlix.com>
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      00742665
  19. 04 Aug, 2009 2 commits