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
Add an entry for Monolithic Power System, MPS
Signed-off-by: Saravanan Sekar <[email protected]>
Acked-by: Rob Herring <[email protected]>
---
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
index 6046f4555852..5eac9d08bfa8 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -605,6 +605,8 @@ patternProperties:
description: MiraMEMS Sensing Technology Co., Ltd.
"^mitsubishi,.*":
description: Mitsubishi Electric Corporation
+ "^mps,.*":
+ description: Monolithic Power Systems, Inc.
"^mosaixtech,.*":
description: Mosaix Technologies, Inc.
"^motorola,.*":
--
2.17.1
Add MAINTAINERS entry for Monolithic Power Systems mpq7920 PMIC driver.
Signed-off-by: Saravanan Sekar <[email protected]>
---
MAINTAINERS | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 8982c6e013b3..3eb7447dbff8 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -11143,6 +11143,13 @@ S: Maintained
F: Documentation/driver-api/serial/moxa-smartio.rst
F: drivers/tty/mxser.*
+MONOLITHIC POWER SYSTEM PMIC DRIVER
+M: Saravanan Sekar <[email protected]>
+S: Maintained
+F: Documentation/devicetree/bindings/regulator/mpq7920.yaml
+F: drivers/regulator/mpq7920.c
+F: drivers/regulator/mpq7920.h
+
MR800 AVERMEDIA USB FM RADIO DRIVER
M: Alexey Klimov <[email protected]>
L: [email protected]
--
2.17.1
On Thu, Jan 9, 2020 at 5:25 AM Saravanan Sekar <[email protected]> wrote:
>
> Add an entry for Monolithic Power System, MPS
>
> Signed-off-by: Saravanan Sekar <[email protected]>
> Acked-by: Rob Herring <[email protected]>
> ---
> Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
> 1 file changed, 2 insertions(+)
Mark, And revert this too. It's a duplicate of what I already have in
my tree and this one is not alphabetized correctly.
Rob
On Mon, Jan 13, 2020 at 11:14:39AM -0600, Rob Herring wrote:
> On Thu, Jan 9, 2020 at 5:25 AM Saravanan Sekar <[email protected]> wrote:
> >
> > Add an entry for Monolithic Power System, MPS
> >
> > Signed-off-by: Saravanan Sekar <[email protected]>
> > Acked-by: Rob Herring <[email protected]>
> Mark, And revert this too. It's a duplicate of what I already have in
> my tree and this one is not alphabetized correctly.
OK... I'm very surprised that you're asking me to revert a patch
that you've acked though.