[PATCH 0/8 v6] Finalize regulator descriptor work
From: Linus Walleij
Date: Thu Nov 15 2018 - 03:01:33 EST
This series finalizes the regulator descriptor work.
We do this by:
- Tidying up remaining drivers using .ena_gpio to pass
descriptors.
- Converting the GPIO regulator to use descriptors and
passing a descriptor for .ena_gpio.
- Pull in all inversion and open drain semantics into
gpiolib.
- Deleting the legacy GPIO numberspace handling from
the GPIO core.
The 0day build robot is happy with the series.
Linus Walleij (8):
regulator: s2mps11: Pass descriptor instead of GPIO number
regulator: wm8994: Pass descriptor instead of GPIO number
regulator: max77686: Pass descriptor instead of GPIO number
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 | 1 -
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-s3c64xx/mach-crag6410-module.c | 17 +-
arch/arm/mach-sa1100/assabet.c | 1 -
arch/sh/boards/mach-ecovec24/setup.c | 2 -
.../intel-mid/device_libs/platform_bcm43xx.c | 1 -
drivers/mfd/wm8994-core.c | 9 -
drivers/regulator/core.c | 40 +---
drivers/regulator/da9055-regulator.c | 1 -
drivers/regulator/fixed.c | 35 +---
drivers/regulator/gpio-regulator.c | 189 +++++++-----------
drivers/regulator/max77686-regulator.c | 19 +-
drivers/regulator/s2mps11.c | 46 ++---
drivers/regulator/wm8994-regulator.c | 20 +-
include/linux/mfd/wm8994/pdata.h | 3 -
include/linux/regulator/driver.h | 12 +-
include/linux/regulator/fixed.h | 10 -
include/linux/regulator/gpio-regulator.h | 18 +-
29 files changed, 205 insertions(+), 295 deletions(-)
--
2.17.2