Skip to contentSkip to conversation

hwmon: Add support for MPS mp2925 and mp2929 chip

PATCH Applied [email protected] 2 participants 5 messages Sep 28, 2025 – Oct 2, 2025

Subsystems (4)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

v3 cover hwmon: Add support for MPS mp2925 and mp2929 chip

From: Wensheng Wang <[email protected]>

Add mp2925,mp292 driver in hwmon and add dt-bindings for them.

V2 -> V3:
fix garbage value issue when writing vout ov/uv fault limit value in mp2925_write_word_data() function

V1 -> V2:
1. add Krzysztof's Acked-by
2. pass 0 for i2c_device_id and of_device_id struct

Wensheng Wang (2):
dt-bindings: hwmon: Add MPS mp2925 and mp2929
hwmon: add MP2925 and MP2929 driver

 .../devicetree/bindings/trivial-devices.yaml  |   4 +
 Documentation/hwmon/index.rst                 |   1 +
 Documentation/hwmon/mp2925.rst                | 151 +++++++++
 MAINTAINERS                                   |   7 +
 drivers/hwmon/pmbus/Kconfig                   |   9 +
 drivers/hwmon/pmbus/Makefile                  |   1 +
 drivers/hwmon/pmbus/mp2925.c                  | 316 ++++++++++++++++++
 7 files changed, 489 insertions(+)
 create mode 100644 Documentation/hwmon/mp2925.rst
 create mode 100644 drivers/hwmon/pmbus/mp2925.c
Signature · 1 line
2.25.1
author maintainer
#1 lore raw

PATCH v3 1/2 dt-bindings: hwmon: Add MPS mp2925 and mp2929

From: Wensheng Wang <[email protected]>

Add support for MPS mp2925 and mp2929 controller.

---
V1 -> V2:
add Krzysztof's Acked-by

 Documentation/devicetree/bindings/trivial-devices.yaml | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/trivial-devices.yaml +4 -0
index f3dd18681aa6..eb617a6c50e5 100644
@@ -297,6 +297,10 @@ properties:
           - mps,mp2888
             # Monolithic Power Systems Inc. multi-phase controller mp2891
           - mps,mp2891
+            # Monolithic Power Systems Inc. multi-phase controller mp2925
+          - mps,mp2925
+            # Monolithic Power Systems Inc. multi-phase controller mp2929
+          - mps,mp2929
             # Monolithic Power Systems Inc. multi-phase controller mp2993
           - mps,mp2993
             # Monolithic Power Systems Inc. hot-swap protection device
Signature · 1 line
2.25.1
author maintainer
#2 lore raw

PATCH v3 2/2 hwmon: add MP2925 and MP2929 driver

From: Wensheng Wang <[email protected]>

Add support for MPS VR mp2925 and mp2929 controller. This driver exposes telemetry and limit value readings and writtings.

---
V2 -> V3:
fix garbage value issue when writing vout ov/uv fault limit value in mp2925_write_word_data() function

V1 -> V2:
pass 0 for i2c_device_id and of_device_id struct

 Documentation/hwmon/index.rst  |   1 +
 Documentation/hwmon/mp2925.rst | 151 ++++++++++++++++
 MAINTAINERS                    |   7 +
 drivers/hwmon/pmbus/Kconfig    |   9 +
 drivers/hwmon/pmbus/Makefile   |   1 +
 drivers/hwmon/pmbus/mp2925.c   | 316 +++++++++++++++++++++++++++++++++
 6 files changed, 485 insertions(+)
 create mode 100644 Documentation/hwmon/mp2925.rst
 create mode 100644 drivers/hwmon/pmbus/mp2925.c
Documentation/hwmon/index.rst +1 -0
index d292a86ac5da..95bcf71ff6d9 100644
@@ -175,6 +175,7 @@ Hardware Monitoring Kernel Drivers
    mp2856
    mp2888
    mp2891
+   mp2925
    mp2975
    mp2993
    mp5023
Documentation/hwmon/mp2925.rst new file +151 -0

151 lines not on this page · raw message

MAINTAINERS +7 -0
index 35dac69ec0d5..c606ae7be70c 100644
@@ -17185,6 +17185,13 @@ S:	Maintained
 F:	Documentation/hwmon/mp2891.rst
 F:	drivers/hwmon/pmbus/mp2891.c
 
+MPS MP2925 DRIVER
+M:	Noah Wang <[email protected]>
+L:	[email protected]
+S:	Maintained
+F:	Documentation/hwmon/mp2925.rst
+F:	drivers/hwmon/pmbus/mp2925.c
+
 MPS MP2993 DRIVER
 M:	Noah Wang <[email protected]>
 L:	[email protected]
drivers/hwmon/pmbus/Kconfig +9 -0
index 55e492452ce8..d0e1eb500215 100644
@@ -391,6 +391,15 @@ config SENSORS_MP2891
       This driver can also be built as a module. If so, the module will
       be called mp2891.
 
+config SENSORS_MP2925
+    tristate "MPS MP2925"
+    help
+      If you say yes here you get hardware monitoring support for MPS
+      MP2925 Dual Loop Digital Multi-Phase Controller.
+
+      This driver can also be built as a module. If so, the module will
+      be called mp2925.
+
 config SENSORS_MP2975
 	tristate "MPS MP2975"
 	help
drivers/hwmon/pmbus/Makefile +1 -0
index 29cd8a3317d2..64c1b03bf47b 100644
@@ -39,6 +39,7 @@ obj-$(CONFIG_SENSORS_MAX8688)	+= max8688.o
 obj-$(CONFIG_SENSORS_MP2856)	+= mp2856.o
 obj-$(CONFIG_SENSORS_MP2888)	+= mp2888.o
 obj-$(CONFIG_SENSORS_MP2891)	+= mp2891.o
+obj-$(CONFIG_SENSORS_MP2925)	+= mp2925.o
 obj-$(CONFIG_SENSORS_MP2975)	+= mp2975.o
 obj-$(CONFIG_SENSORS_MP2993)	+= mp2993.o
 obj-$(CONFIG_SENSORS_MP5023)	+= mp5023.o
drivers/hwmon/pmbus/mp2925.c new file +316 -0

316 lines not on this page · raw message

Signature · 1 line
2.25.1