hwmon: Add support for MPS mp2925 and mp2929 chip
[email protected]
maintainerv3 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
[email protected]
maintainerPATCH 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
@@ -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
[email protected]
maintainerPATCH 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
@@ -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
@@ -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
@@ -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
@@ -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
Re: [PATCH v3 2/2] hwmon: add MP2925 and MP2929 driver
Quoted 6 lines · On Sun, Sep 28, 2025 at 05:28:45PM +0800, [email protected] wrote:
From: Wensheng Wang <[email protected]>
Add support for MPS VR mp2925 and mp2929 controller. This driver exposes telemetry and limit value readings and writtings.
Signed-off-by Wensheng Wang <[email protected]>
Applied to hwmon-next.
Guenter
Re: [PATCH v3 1/2] dt-bindings: hwmon: Add MPS mp2925 and mp2929
In reply to [email protected]Quoted 6 lines · On Sun, Sep 28, 2025 at 05:28:44PM +0800, [email protected] wrote:
From: Wensheng Wang <[email protected]>
Add support for MPS mp2925 and mp2929 controller.
Signed-off-by Wensheng Wang <[email protected]>
Applied to hwmon-next.
Thanks,
Guenter