Skip to contentSkip to conversation

regulator updates for the next release

GIT PULL Mark Brown 1 participant 1 message Oct 22, 2018

lore
Share & tools
lore

Mark Brown

author
#0 lore raw

The following changes since commit 35a7f35ad1b150ddf59a41dcac7b2fa32982be0e:

Linux 4.19-rc8 (2018-10-15 07:20:24 +0200)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git tags/regulator-v5.0

for you to fetch changes up to f35b1e53a66ab06e6d04cdff96f686e8b88959ef:

Merge remote-tracking branches 'regulator/topic/bd718xx' and 'regulator/topic/pfuze100' into regulator-next (2018-10-21 17:00:05 +0100)

----------------------------------------------------------------
regulator: Regulator updates for next release

The biggest chunk of the regulator changes for this release outside of the new drivers is the conversion of the fixed regulator to use the GPIO descriptor API, there's a small addition to the GPIO API plus a bunch of updates to board files to implement it. This is some really welcome work from Linus Walleij that's had a bunch of review and has been sitting in -next for a while so I'm fairly happy there's no major issues.

- Helpers for overlapping linear ranges.
- Display opmode and consumer requested load in the regualtor_summary file in debugfs, plus a fix there.
- Support for the fun and entertaining power off mechanism that the pfuze100 hardware implements.
- Conversion of the fixed regulator API to use GPIO descriptors, including pulling in a bunch of patches to a bunch of board files.
- New drivers for Cirrus Logic Lochnagar, Qualcomm PMS405, Rohm BD71847, ST PMIC1, and TI LM363x devices.

----------------------------------------------------------------
Axel Lin (4):
regulator: isl9305: Add missing .owner field in regulator_desc
regulator: bd71837: Remove duplicate assignment for n_voltages of LDO2
regulator: stpmic1: Return REGULATOR_MODE_INVALID for invalid mode
regulator: bd718x7: Remove struct bd718xx_pmic

Bjorn Andersson (1):
regulator: qcom: Add PMS405 regulators

Charles Keepax (2):
regulator: lochnagar: Add support for the Cirrus Logic Lochnagar
regulator: lochnagar: Use a consisent comment style for SPDX header

Colin Ian King (1):

      regulator: pfuze100-regulator: fix spelling mistake "standy" -> "standby"

Douglas Anderson (4):
regulator: core: Add the opmode to regulator_summary
regulator: core: Add consumer-requested load in regulator_summary
regulator: core: Add locking to debugfs regulator_summary
regulator: qcom-rpmh: Add stylistic breaks in the default cases

Gustavo A. R. Silva (1):

      regulator: axp20x: Mark expected switch fall-throughs

Linus Walleij (4):
regulator: fixed: Convert to use GPIO descriptor only
regulator: fixed: Default enable high on DT regulators regulator/gpio: Allow nonexclusive GPIO access
regulator: Fetch enable gpiods nonexclusive

Marek Szyprowski (1):
regulator: Fix useless O^2 complexity in suspend/resume

Mark Brown (4):
Merge tag 'regulator-v4.19-rc5' into regulator-bd718xx
Merge tag 'bd71847-support' into regulator-4.20
Merge branch 'regulator-4.20' into regulator-next
Merge remote-tracking branches 'regulator/topic/bd718xx' and 'regulator/topic/pfuze100' into regulator-next

Matti Vaittinen (10):
regulator: regmap helpers - support overlapping linear ranges
regulator: bd718x7: add missing linux/of.h inclusion regulator/mfd: Support ROHM BD71847 power management IC
regulator: dt bindings: add BD71847 device-tree binding documentation
mfd: dt bindings: add BD71847 device-tree binding documentation
regulator: Support regulators where voltage ranges are selectable regulator/mfd: bd718xx: rename bd71837/bd71847 common instances
regulator: bd718XX use pickable ranges
regulator: bd718xx: rename bd71837 to 718xx
regulator: bd718xx: fix build warning on x86_64

Nathan Chancellor (1):
regulator: da905{2,5}: Remove unnecessary array check

Oleksij Rempel (3):
kernel/reboot.c: export pm_power_off_prepare
regulator: pfuze100: add fsl,pmic-stby-poweroff property
regulator: pfuze100-regulator: provide pm_power_off_prepare handler

Randy Dunlap (1):
regulator: fix kernel-doc for regulator_suspend()

Rob Herring (1):
regulator: Convert to using %pOFn instead of device_node.name

pascal paillet (2):
dt-bindings: regulator: document stpmic1 pmic regulators
regulator: stpmic1: add stpmic1 regulator driver

 .../devicetree/bindings/mfd/rohm,bd71837-pmic.txt  |   17 +-
 .../devicetree/bindings/regulator/pfuze100.txt     |    5 +
 .../bindings/regulator/qcom,smd-rpm-regulator.txt  |   23 +
 .../bindings/regulator/rohm,bd71837-regulator.txt  |   12 +-
 .../bindings/regulator/st,stpmic1-regulator.txt    |   68 ++
 arch/arm/mach-imx/mach-mx21ads.c                   |   12 +-
 arch/arm/mach-imx/mach-mx27ads.c                   |   12 +-
 arch/arm/mach-mmp/brownstone.c                     |   12 +-
 arch/arm/mach-omap1/board-ams-delta.c              |   12 +-
 arch/arm/mach-omap2/pdata-quirks.c                 |   16 +-
 arch/arm/mach-pxa/em-x270.c                        |    1 -
 arch/arm/mach-pxa/ezx.c                            |   33 +-
 arch/arm/mach-pxa/magician.c                       |    2 +-
 arch/arm/mach-pxa/raumfeld.c                       |   12 +-
 arch/arm/mach-pxa/zeus.c                           |   23 +-
 arch/arm/mach-s3c64xx/mach-crag6410.c              |    1 -
 arch/arm/mach-s3c64xx/mach-smdk6410.c              |    1 -
 arch/arm/mach-sa1100/assabet.c                     |   21 +-
 arch/arm/mach-sa1100/generic.c                     |    5 +-
 arch/arm/mach-sa1100/generic.h                     |    3 +-
 arch/arm/mach-sa1100/shannon.c                     |    4 +-
 arch/sh/boards/mach-ecovec24/setup.c               |   27 +-
 .../intel-mid/device_libs/platform_bcm43xx.c       |   17 +-
 drivers/gpio/gpiolib.c                             |   19 +-
 drivers/mfd/rohm-bd718x7.c                         |  162 ++-
 drivers/regulator/Kconfig                          |   21 +-
 drivers/regulator/Makefile                         |    4 +-
 drivers/regulator/arizona-ldo1.c                   |    2 +-
 drivers/regulator/axp20x-regulator.c               |    3 +-
 drivers/regulator/bd71837-regulator.c              |  645 -----------
 drivers/regulator/bd718x7-regulator.c              | 1119 ++++++++++++++++++++
 drivers/regulator/core.c                           |  124 +--
 drivers/regulator/da9052-regulator.c               |    2 +-
 drivers/regulator/da9055-regulator.c               |    2 +-
 drivers/regulator/da9211-regulator.c               |   10 +-
 drivers/regulator/fixed-helper.c                   |    1 -
 drivers/regulator/fixed.c                          |   57 +-
 drivers/regulator/helpers.c                        |  243 ++++-
 drivers/regulator/isl9305.c                        |    4 +
 drivers/regulator/lm363x-regulator.c               |    6 +-
 drivers/regulator/lochnagar-regulator.c            |  254 +++++
 drivers/regulator/lp8788-ldo.c                     |    7 +-
 drivers/regulator/max8952.c                        |    1 +
 drivers/regulator/max8973-regulator.c              |    1 +
 drivers/regulator/max8997-regulator.c              |    4 +-
 drivers/regulator/mc13xxx-regulator-core.c         |    2 +-
 drivers/regulator/of_regulator.c                   |   44 +-
 drivers/regulator/pfuze100-regulator.c             |   91 ++
 drivers/regulator/qcom-rpmh-regulator.c            |   17 +-
 drivers/regulator/qcom_smd-regulator.c             |   77 ++
 drivers/regulator/s5m8767.c                        |   25 +-
 drivers/regulator/stpmic1_regulator.c              |  674 ++++++++++++
 drivers/regulator/tps65090-regulator.c             |    1 +
 include/linux/gpio/consumer.h                      |    1 +
 include/linux/mfd/rohm-bd718x7.h                   |  331 +++---
 include/linux/regulator/driver.h                   |   20 +-
 include/linux/regulator/fixed.h                    |    3 -
 kernel/reboot.c                                    |    1 +
 58 files changed, 3205 insertions(+), 1112 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/regulator/st,stpmic1-regulator.txt
 delete mode 100644 drivers/regulator/bd71837-regulator.c
 create mode 100644 drivers/regulator/bd718x7-regulator.c
 create mode 100644 drivers/regulator/lochnagar-regulator.c
 create mode 100644 drivers/regulator/stpmic1_regulator.c