[GIT PULL] regulator updates for v5.8

From: Mark Brown
Date: Mon Jun 01 2020 - 08:22:05 EST


The following changes since commit 9cb1fd0efd195590b828b9b865421ad345a4a145:

Linux 5.7-rc7 (2020-05-24 15:32:54 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 5fb565b69dabd5a256fc116702331b54a4621dc9:

Merge remote-tracking branch 'regulator/for-5.8' into regulator-linus (2020-06-01 13:01:44 +0100)

----------------------------------------------------------------
regulator: Updates for v5.8

The big change in this release is that Matti Vaittinen has factored out
the linear ranges support into a separate library in lib/ since it is
also useful for at least the power subsystem (and most likely others
too), it helps subsystems which need to map register values into more
useful real world values do so with minimal per-driver code.

- Factoring out of the linear ranges support into a library in lib/
from Matti Vaittinen.
- Trace points for bypass mode.
- Use the consumer name in debugfs to make it easier to understand.
- New drivers for Maxim MAX77826 and MAX8998.

----------------------------------------------------------------
Anson Huang (1):
dt-bindings: regulator: Convert anatop regulator to json-schema

Bjorn Andersson (1):
regulator: qcom-rpmh: Fix typos in pm8150 and pm8150l

Charles Keepax (1):
regulator: core: Add regulator bypass trace points

Colin Ian King (1):
regulator: tps80031: remove redundant assignment to variables ret and val

Iskren Chernev (3):
regulator: max77826: Add max77826 regulator driver
regulator: Document bindings for max77826
regulator: max77826: Remove erroneous additionalProperties

Jason Yan (3):
regulator: qcom_rpm: remove defined but not used 'pm8921_ftsmps'
regulator: ab8500: remove some defined but not used variables
regulator: db8500-prcmu: Use true,false for bool variable

Jonathan Bakker (2):
regulator: max8998: Add charger regulator
regulator/mfd: max8998: Document charger regulator

Marek Szyprowski (1):
regulator: extract voltage balancing code to the separate function

Mark Brown (6):
Merge tag 'linear-ranges-lib' of https://git.kernel.org/.../broonie/regulator into regulator-5.8
Merge branch 'topic/linear-range' of https://git.kernel.org/.../broonie/regulator into regulator-5.8
Merge series "MAINTAINER entries for few ROHM power devices" from Matti Vaittinen <matti.vaittinen@xxxxxxxxxxxxxxxxx>:
Merge series "Fix regulators coupling for Exynos5800" from Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>:
Merge remote-tracking branch 'regulator/for-5.7' into regulator-linus
Merge remote-tracking branch 'regulator/for-5.8' into regulator-linus

Matti Vaittinen (8):
regulator: bd718x7: remove voltage change restriction from BD71847
lib: add linear ranges helpers
lib/test_linear_ranges: add a test for the 'linear_ranges'
power: supply: bd70528: rename linear_range to avoid collision
regulator: use linear_ranges helper
lib: linear_ranges: Add missing MODULE_LICENSE()
regulator: bd718x7: remove voltage change restriction from BD71847 LDOs
MAINTAINERS: Add maintainer entry for linear ranges helper

MichaÅ MirosÅaw (1):
regulator: use consumer->supply_name in debugfs/regulator_summary

kbuild test robot (1):
regulator: max8998: max8998_set_current_limit() can be static

Documentation/devicetree/bindings/mfd/max8998.txt | 8 +
.../bindings/regulator/anatop-regulator.txt | 40 ---
.../bindings/regulator/anatop-regulator.yaml | 94 +++++++
.../bindings/regulator/maxim,max77826.yaml | 68 +++++
MAINTAINERS | 7 +
drivers/power/supply/bd70528-charger.c | 10 +-
drivers/regulator/88pg86x.c | 4 +-
drivers/regulator/88pm800-regulator.c | 4 +-
drivers/regulator/Kconfig | 11 +
drivers/regulator/Makefile | 1 +
drivers/regulator/ab8500.c | 22 --
drivers/regulator/act8865-regulator.c | 4 +-
drivers/regulator/act8945a-regulator.c | 2 +-
drivers/regulator/arizona-ldo1.c | 2 +-
drivers/regulator/arizona-micsupp.c | 4 +-
drivers/regulator/as3711-regulator.c | 6 +-
drivers/regulator/as3722-regulator.c | 4 +-
drivers/regulator/axp20x-regulator.c | 16 +-
drivers/regulator/bcm590xx-regulator.c | 8 +-
drivers/regulator/bd70528-regulator.c | 8 +-
drivers/regulator/bd71828-regulator.c | 10 +-
drivers/regulator/bd718x7-regulator.c | 238 ++++++++++++++--
drivers/regulator/core.c | 59 ++--
drivers/regulator/da903x.c | 2 +-
drivers/regulator/db8500-prcmu.c | 2 +-
drivers/regulator/helpers.c | 130 ++++-----
drivers/regulator/hi6421-regulator.c | 4 +-
drivers/regulator/lochnagar-regulator.c | 4 +-
drivers/regulator/lp873x-regulator.c | 4 +-
drivers/regulator/lp87565-regulator.c | 2 +-
drivers/regulator/lp8788-buck.c | 2 +-
drivers/regulator/max77650-regulator.c | 2 +-
drivers/regulator/max77826-regulator.c | 301 +++++++++++++++++++++
drivers/regulator/max8998.c | 105 +++++++
drivers/regulator/mcp16502.c | 4 +-
drivers/regulator/mp8859.c | 2 +-
drivers/regulator/mt6323-regulator.c | 6 +-
drivers/regulator/mt6358-regulator.c | 8 +-
drivers/regulator/mt6380-regulator.c | 6 +-
drivers/regulator/mt6397-regulator.c | 6 +-
drivers/regulator/palmas-regulator.c | 4 +-
drivers/regulator/qcom-rpmh-regulator.c | 10 +-
drivers/regulator/qcom_rpm-regulator.c | 24 +-
drivers/regulator/qcom_smd-regulator.c | 78 +++---
drivers/regulator/rk808-regulator.c | 10 +-
drivers/regulator/s2mps11.c | 14 +-
drivers/regulator/sky81452-regulator.c | 2 +-
drivers/regulator/stpmic1_regulator.c | 18 +-
drivers/regulator/tps65086-regulator.c | 10 +-
drivers/regulator/tps65217-regulator.c | 4 +-
drivers/regulator/tps65218-regulator.c | 6 +-
drivers/regulator/tps65912-regulator.c | 4 +-
drivers/regulator/tps80031-regulator.c | 7 +-
drivers/regulator/twl-regulator.c | 4 +-
drivers/regulator/twl6030-regulator.c | 2 +-
drivers/regulator/wm831x-dcdc.c | 2 +-
drivers/regulator/wm831x-ldo.c | 4 +-
drivers/regulator/wm8350-regulator.c | 2 +-
drivers/regulator/wm8400-regulator.c | 2 +-
include/linux/linear_range.h | 48 ++++
include/linux/mfd/max8998.h | 1 +
include/linux/regulator/coupler.h | 8 +
include/linux/regulator/driver.h | 27 +-
include/trace/events/regulator.h | 32 +++
lib/Kconfig | 3 +
lib/Kconfig.debug | 12 +
lib/Makefile | 2 +
lib/linear_ranges.c | 245 +++++++++++++++++
lib/test_linear_ranges.c | 228 ++++++++++++++++
69 files changed, 1652 insertions(+), 381 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/regulator/anatop-regulator.txt
create mode 100644 Documentation/devicetree/bindings/regulator/anatop-regulator.yaml
create mode 100644 Documentation/devicetree/bindings/regulator/maxim,max77826.yaml
create mode 100644 drivers/regulator/max77826-regulator.c
create mode 100644 include/linux/linear_range.h
create mode 100644 lib/linear_ranges.c
create mode 100644 lib/test_linear_ranges.c

Attachment: signature.asc
Description: PGP signature