[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20180108164637.19919-1-linus.walleij@linaro.org>
Date: Mon, 8 Jan 2018 17:46:33 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>, linux-gpio@...r.kernel.org,
Rob Herring <robh@...nel.org>
Cc: linux-kernel@...r.kernel.org,
Linus Walleij <linus.walleij@...aro.org>
Subject: [PATCH 0/4] gpio: Preperatory work for regulators
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
Powered by blists - more mailing lists