public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] GPIO switch framework
@ 2009-03-20 13:50 Jani Nikula
  2009-03-20 13:50 ` [RFC PATCH 1/3] GPIOLIB: Add new gpio_device_create function Jani Nikula
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Jani Nikula @ 2009-03-20 13:50 UTC (permalink / raw)
  To: david-b; +Cc: linux-kernel, juha.yrjola, ext-jani.1.nikula


Hi -

This RFC patchset is a pretty straightforward adaptation of OMAP GPIO
switch framework for mainline integration.

The GPIO switch framework allows reporting and changing GPIO switches
via sysfs, with debouncing and sysfs/in-kernel notifications for input
switches.

The switches are added as /sys/class/gpio/switch-<switch name> under
the gpiolib sysfs structure.


BR,
Jani.


Jani Nikula (3):
      GPIOLIB: Add new gpio_device_create function
      GPIO-SWITCH: Adaptation of GPIO switch framework for mainline
      GPIO-SWITCH: Kconfig and Makefile

 drivers/gpio/Kconfig        |   10 +
 drivers/gpio/Makefile       |    2 +
 drivers/gpio/gpio-switch.c  |  534 +++++++++++++++++++++++++++++++++++++++++++
 drivers/gpio/gpiolib.c      |   52 +++++
 include/asm-generic/gpio.h  |   12 +
 include/linux/gpio-switch.h |   74 ++++++
 6 files changed, 684 insertions(+), 0 deletions(-)
 create mode 100644 drivers/gpio/gpio-switch.c
 create mode 100644 include/linux/gpio-switch.h

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-07-02  9:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-20 13:50 [RFC PATCH 0/3] GPIO switch framework Jani Nikula
2009-03-20 13:50 ` [RFC PATCH 1/3] GPIOLIB: Add new gpio_device_create function Jani Nikula
2009-03-20 13:50   ` [RFC PATCH 2/3] GPIO-SWITCH: Adaptation of GPIO switch framework for mainline Jani Nikula
2009-03-20 13:50   ` [RFC PATCH 3/3] GPIO-SWITCH: Kconfig and Makefile Jani Nikula
2009-03-20 14:15 ` [RFC PATCH 0/3] GPIO switch framework pHilipp Zabel
2009-03-22  6:25 ` Ben Nizette
2009-03-31  9:18   ` Jani Nikula
2009-07-01 21:03     ` David Brownell
2009-07-02  9:07       ` Jani Nikula

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox