[PATCH v6 0/4] Add regulator support for mpq7920

From: Saravanan Sekar
Date: Thu Jan 09 2020 - 06:26:02 EST


Changes in V6:
- replaced dts parse loop with an of_parse_cb callback

Changes in V5:
- removed timeslot related changes, the timeslot register holds the value of
time duration between each regulator of power on/off sequence. Although
timeslot register is accessed over I2C the changes reflects on next powercycle
of pmic, so cannot handled part of this driver.
- device tree bindings property are defined per regulator node

Changes in V4:
- fixed 0-DAY warnings

Changes in V3:
- fixed review comments in Documentation and dt_bindings_check passed

Changes in V2:
- fixed all the review comments in the driver, avoid ternery operator, inline & constant
- fixed/modifed review comments in Documentation

This patch series add support for PMIC regulator driver for Monolithic
Power System's MPQ7920 chipset. MPQ7920 provides support for 4-BUCK converter,
one fixed voltage RTCLDO and 4-LDO regualtor, accessed over I2C.

Saravanan Sekar (4):
dt-bindings: Add an entry for Monolithic Power System, MPS
dt-bindings: regulator: add document bindings for mpq7920
regulator: mpq7920: add mpq7920 regulator driver
MAINTAINERS: Add entry for mpq7920 PMIC driver

Saravanan Sekar (4):
dt-bindings: Add an entry for Monolithic Power System, MPS
dt-bindings: regulator: add document bindings for mpq7920
regulator: mpq7920: add mpq7920 regulator driver
MAINTAINERS: Add entry for mpq7920 PMIC driver

Saravanan Sekar (4):
dt-bindings: Add an entry for Monolithic Power System, MPS
dt-bindings: regulator: add document bindings for mpq7920
regulator: mpq7920: add mpq7920 regulator driver
MAINTAINERS: Add entry for mpq7920 PMIC driver

.../bindings/regulator/mps,mpq7920.yaml | 202 ++++++++++
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
MAINTAINERS | 7 +
drivers/regulator/Kconfig | 10 +
drivers/regulator/Makefile | 1 +
drivers/regulator/mpq7920.c | 346 ++++++++++++++++++
drivers/regulator/mpq7920.h | 68 ++++
7 files changed, 636 insertions(+)
create mode 100644 Documentation/devicetree/bindings/regulator/mps,mpq7920.yaml
create mode 100644 drivers/regulator/mpq7920.c
create mode 100644 drivers/regulator/mpq7920.h

--
2.17.1