[PATCH 0/4] gpio: Preperatory work for regulators

From: Linus Walleij
Date: Mon Jan 08 2018 - 19:00:57 EST


I have a patch series of 26 patches to convert fixed and GPIO regulators
to use only GPIO descriptors.

That is fine stuff for the next merge window (v4.17).

But it'd be nice to get the preperatory work into gpiolib already now
so we avoid cross-tree dependencies.

These patches parses the quirky regulators that use nonstandard
GPIO line names an line flags, and exposes a function to get a named
GPIO line from a device tree node that does not have a corresponding
Linux device.

Linus Walleij (4):
gpio: of: Support regulator nonstandard GPIO properties
gpio: Break out code to get a descriptor from a DT node
gpio: Export devm_gpiod_get_from_of_node() for consumers
gpio: of: Add special quirk to parse regulator flags

drivers/gpio/devres.c | 42 +++++++++++++++
drivers/gpio/gpiolib-of.c | 78 ++++++++++++++++++++++++++++
drivers/gpio/gpiolib.c | 118 ++++++++++++++++++++++++++++++------------
drivers/gpio/gpiolib.h | 6 +++
include/linux/gpio/consumer.h | 17 ++++++
5 files changed, 227 insertions(+), 34 deletions(-)

--
2.14.3