Commit 90bad684 authored by Wensheng Wang's avatar Wensheng Wang Committed by Guenter Roeck
Browse files

hwmon: add MP29502 driver



Add support for MPS VR controller mp29502. This driver exposes
telemetry and limits value readings and writtings.

Signed-off-by: default avatarWensheng Wang <wenswang@yeah.net>
Link: https://lore.kernel.org/r/20250805102020.749850-3-wenswang@yeah.net


[groeck: Fixed document formatting]
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent a3a2923a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -176,6 +176,7 @@ Hardware Monitoring Kernel Drivers
   mp2869
   mp2888
   mp2891
   mp29502
   mp2975
   mp2993
   mp5023
+93 −0
Original line number Diff line number Diff line
.. SPDX-License-Identifier: GPL-2.0

Kernel driver mp29502
=====================

Supported chips:

  * MPS mp29502

    Prefix: 'mp29502'

Author:

	Wensheng Wang <wenswang@yeah.net>

Description
-----------

This driver implements support for Monolithic Power Systems, Inc. (MPS)
MP29502 Digital Multi-phase Controller.

Device compliant with:

- PMBus rev 1.3 interface.

The driver exports the following attributes via the 'sysfs' files
for input voltage:

**in1_input**

**in1_label**

**in1_crit**

**in1_crit_alarm**

The driver provides the following attributes for output voltage:

**in2_input**

**in2_label**

**in2_crit**

**in2_crit_alarm**

**in2_lcrit**

**in2_lcrit_alarm**

The driver provides the following attributes for input current:

**curr1_input**

**curr1_label**

The driver provides the following attributes for output current:

**curr2_input**

**curr2_label**

**curr2_crit**

**curr2_crit_alarm**

**curr2_max**

**curr2_max_alarm**

The driver provides the following attributes for input power:

**power1_input**

**power1_label**

The driver provides the following attributes for output power:

**power2_input**

**power2_label**

The driver provides the following attributes for temperature:

**temp1_input**

**temp1_crit**

**temp1_crit_alarm**

**temp1_max**

**temp1_max_alarm**
+7 −0
Original line number Diff line number Diff line
@@ -17189,6 +17189,13 @@ S: Maintained
F:	Documentation/hwmon/mp2891.rst
F:	drivers/hwmon/pmbus/mp2891.c
MPS MP29502 DRIVER
M:	Wensheng Wang <wenswang@yeah.net>
L:	linux-hwmon@vger.kernel.org
S:	Maintained
F:	Documentation/hwmon/mp29502.rst
F:	drivers/hwmon/pmbus/mp29502.c
MPS MP2993 DRIVER
M:	Noah Wang <noahwang.wang@outlook.com>
L:	linux-hwmon@vger.kernel.org
+9 −0
Original line number Diff line number Diff line
@@ -401,6 +401,15 @@ config SENSORS_MP2891
      This driver can also be built as a module. If so, the module will
      be called mp2891.

config SENSORS_MP29502
	tristate "MPS MP29502"
	help
	  If you say yes here you get hardware monitoring support for MPS
	  MP29502 Dual Loop Digital Multi-Phase Controller.

	  This driver can also be built as a module. If so, the module will
	  be called mp29502.

config SENSORS_MP2975
	tristate "MPS MP2975"
	help
+1 −0
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@ obj-$(CONFIG_SENSORS_MP2856) += mp2856.o
obj-$(CONFIG_SENSORS_MP2869)	+= mp2869.o
obj-$(CONFIG_SENSORS_MP2888)	+= mp2888.o
obj-$(CONFIG_SENSORS_MP2891)	+= mp2891.o
obj-$(CONFIG_SENSORS_MP29502)	+= mp29502.o
obj-$(CONFIG_SENSORS_MP2975)	+= mp2975.o
obj-$(CONFIG_SENSORS_MP2993)	+= mp2993.o
obj-$(CONFIG_SENSORS_MP5023)	+= mp5023.o
Loading