[PATCH 0/5 v8] Regulator GPIO descriptors endgame

From: Linus Walleij
Date: Tue Dec 11 2018 - 16:26:36 EST


These five patches finalize the regulator GPIO descriptor
migration and wipes up the debris.

- Migrate the GPIO regulator driver to use descriptors,
switch the few board files using it over in the process.

- Update the device tree bindings for the GPIO regulator.
(This is kind of an independent patch, but a side effect
of using the gpiolib DT parsing code.)

- Pull all inversion and open drain handling into gpiolib
by just passing the right flags in the GPIO descriptor
tables and deleting the local inversion implementation.

- As the GPIO regulator was the last user of the global
GPIO numberspace, we can finally delete the non-descriptor
handling in the regulator core.

Linus Walleij (5):
regulator: gpio: Convert to use descriptors
regulator: fixed/gpio: Pull inversion/OD into gpiolib
regulator: fixed/gpio: Update device tree bindings
regulator: gpio: Simplify probe path
regulator: core: Only support passing enable GPIO descriptors

.../bindings/regulator/fixed-regulator.txt | 13 +-
.../bindings/regulator/gpio-regulator.txt | 4 +
arch/arm/mach-imx/mach-mx21ads.c | 1 -
arch/arm/mach-imx/mach-mx27ads.c | 2 +-
arch/arm/mach-mmp/brownstone.c | 1 -
arch/arm/mach-omap1/board-ams-delta.c | 2 -
arch/arm/mach-omap2/pdata-quirks.c | 1 -
arch/arm/mach-pxa/em-x270.c | 1 -
arch/arm/mach-pxa/ezx.c | 3 +-
arch/arm/mach-pxa/hx4700.c | 23 ++-
arch/arm/mach-pxa/magician.c | 23 ++-
arch/arm/mach-pxa/raumfeld.c | 1 -
arch/arm/mach-pxa/zeus.c | 3 +-
arch/arm/mach-sa1100/assabet.c | 1 -
arch/sh/boards/mach-ecovec24/setup.c | 2 -
.../intel-mid/device_libs/platform_bcm43xx.c | 1 -
drivers/regulator/core.c | 40 +---
drivers/regulator/da9055-regulator.c | 1 -
drivers/regulator/fixed.c | 35 +---
drivers/regulator/gpio-regulator.c | 189 +++++++-----------
include/linux/regulator/driver.h | 12 +-
include/linux/regulator/fixed.h | 10 -
include/linux/regulator/gpio-regulator.h | 18 +-
23 files changed, 143 insertions(+), 244 deletions(-)

--
2.19.2