linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] New descriptor-based GPIO interface
@ 2013-10-11 18:14 Alexandre Courbot
  2013-10-11 18:14 ` [PATCH v2 1/3] gpiolib: export " Alexandre Courbot
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Alexandre Courbot @ 2013-10-11 18:14 UTC (permalink / raw)
  To: Linus Walleij
  Cc: Arnd Bergmann, Grant Likely, Mika Westerberg, gnurou,
	Rafael J. Wysocki, Mathias Nyman, linux-gpio, linux-kernel,
	linux-arch, devicetree, Alexandre Courbot

Hi Linus,

Hopefully this version should compile nicely in all cases. It also improves
inline documentation, but more work is needed for the GPIO guide in
Documentation/. This should follow shortly.

I prefer to send it as-is as other patches started depending on this series and
I guess you don't want them to accumulate too much. :)

Changes since v1:
- added missing definitions of devm_* functions in devres.c
- added missing export of gpiod_get_index()
- added inline documentation for gpiod_* functions
- reorganized consumer.h and added missing functions declarations

Alexandre Courbot (3):
  gpiolib: export descriptor-based GPIO interface
  gpiolib: port of_ functions to use gpiod
  gpiolib: add gpiod_get() and gpiod_put() functions

 drivers/gpio/devres.c         |  83 ++++++
 drivers/gpio/gpiolib-of.c     |  28 +-
 drivers/gpio/gpiolib.c        | 613 +++++++++++++++++++++++++++++-------------
 include/asm-generic/gpio.h    | 222 +++++----------
 include/linux/gpio.h          |  11 +-
 include/linux/gpio/consumer.h | 253 +++++++++++++++++
 include/linux/gpio/driver.h   | 179 ++++++++++++
 include/linux/of_gpio.h       |  29 +-
 8 files changed, 1046 insertions(+), 372 deletions(-)
 create mode 100644 include/linux/gpio/consumer.h
 create mode 100644 include/linux/gpio/driver.h

-- 
1.8.4

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

end of thread, other threads:[~2013-10-16 16:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-11 18:14 [PATCH v2 0/3] New descriptor-based GPIO interface Alexandre Courbot
2013-10-11 18:14 ` [PATCH v2 1/3] gpiolib: export " Alexandre Courbot
2013-10-16  8:11   ` Linus Walleij
2013-10-16  8:25     ` Linus Walleij
2013-10-11 18:14 ` [PATCH v2 2/3] gpiolib: port of_ functions to use gpiod Alexandre Courbot
2013-10-11 18:14 ` [PATCH v2 3/3] gpiolib: add gpiod_get() and gpiod_put() functions Alexandre Courbot
2013-10-11 22:31   ` Alex Courbot
2013-10-16 11:37     ` Linus Walleij
2013-10-16 16:10       ` Alex Courbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).