Skip to content

New descriptor-based GPIO interface

Alexandre Courbot linux-arch linux-devicetree linux-gpio lkml 3 versions – Applied

Status from this message: I applied them as-is. I don't think it's going to be a major

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 5 repliesApplied
  2. v23 patches 5 repliesSuperseded
  3. v1 RFC5 patches 16 repliesSuperseded

Changes in v3 from the cover letter

- rebased on top of Linus' for-next branch
- exported new gpiod_(un)lock_as_irq() functions in driver.h
- squashed a fix for a compilation error

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3gpiolib: export descriptor-based GPIO interfacedrivers/gpio/gpiolib.c include/asm-generic/gpio.h include/linux/gpio.h +2 more+658 -3620 replies
2/3gpiolib: port of_ functions to use gpioddrivers/gpio/gpiolib-of.c include/linux/of_gpio.h+41 -160 replies
3/3gpiolib: add gpiod_get() and gpiod_put() functionsdrivers/gpio/devres.c drivers/gpio/gpiolib.c include/linux/gpio/consumer.h +1 more+357 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/3] New descriptor-based GPIO interface

Hi Linus,

This version should merge as-is in your tree (I hope!). A patch for documentation will follow soon.

Changes since v2:
- rebased on top of Linus' for-next branch
- exported new gpiod_(un)lock_as_irq() functions in driver.h
- squashed a fix for a compilation error

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        | 623 +++++++++++++++++++++++++++++-------------
 include/asm-generic/gpio.h    | 222 +++++----------
 include/linux/gpio.h          |  11 +-
 include/linux/gpio/consumer.h | 253 +++++++++++++++++
 include/linux/gpio/driver.h   | 183 +++++++++++++
 include/linux/of_gpio.h       |  29 +-
 8 files changed, 1055 insertions(+), 377 deletions(-)
 create mode 100644 include/linux/gpio/consumer.h
 create mode 100644 include/linux/gpio/driver.h
Signature · 6 lines
1.8.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html