lkml.org 
[lkml]   [2018]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] gpio: Preperatory work for regulators
Date
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

\
 
 \ /
  Last update: 2018-01-14 23:17    [W:0.021 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site