Commit fc37348c authored by Noah Wang's avatar Noah Wang Committed by Guenter Roeck
Browse files

hwmon: add MP2993 driver



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

Signed-off-by: default avatarNoah Wang <noahwang.wang@outlook.com>
Link: https://lore.kernel.org/r/SEYPR04MB648203DC017A514837DB1204FAC72@SEYPR04MB6482.apcprd04.prod.outlook.com


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 22ac3d2f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -166,6 +166,7 @@ Hardware Monitoring Kernel Drivers
   mp2856
   mp2888
   mp2975
   mp2993
   mp5023
   mp5990
   mpq8785
+150 −0
Original line number Diff line number Diff line
.. SPDX-License-Identifier: GPL-2.0

Kernel driver mp2993
====================

Supported chips:

  * MPS mp2993

    Prefix: 'mp2993'

  * Datasheet
    https://scnbwymvp-my.sharepoint.com/:f:/g/personal/admin_scnbwy_com/Eth4kX1_J1hMsaASHiOYL4QBHU5a75r-tRfLKbHnJFdKLQ?e=vxj3DF

Author:

	Noah Wang <noahwang.wang@outlook.com>

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

This driver implements support for Monolithic Power Systems, Inc. (MPS)
MP2993 Dual Loop 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**

**in1_lcrit**

**in1_lcrit_alarm**

**in1_max**

**in1_max_alarm**

**in1_min**

**in1_min_alarm**

The driver provides the following attributes for output voltage:

**in2_input**

**in2_label**

**in2_crit**

**in2_crit_alarm**

**in2_lcrit**

**in2_lcrit_alarm**

**in3_input**

**in3_label**

**in3_crit**

**in3_crit_alarm**

**in3_lcrit**

**in3_lcrit_alarm**

The driver provides the following attributes for input current:

**curr1_input**

**curr1_label**

**curr1_max**

**curr1_max_alarm**

The driver provides the following attributes for output current:

**curr2_input**

**curr2_label**

**curr2_crit**

**curr2_crit_alarm**

**curr2_max**

**curr2_max_alarm**

**curr3_input**

**curr3_label**

**curr3_crit**

**curr3_crit_alarm**

**curr3_max**

**curr3_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**

**power3_input**

**power3_label**

The driver provides the following attributes for temperature:

**temp1_input**

**temp1_crit**

**temp1_crit_alarm**

**temp1_max**

**temp1_max_alarm**

**temp2_input**

**temp2_crit**

**temp2_crit_alarm**

**temp2_max**

**temp2_max_alarm**
+7 −0
Original line number Diff line number Diff line
@@ -15258,6 +15258,13 @@ S: Maintained
F:	Documentation/devicetree/bindings/leds/backlight/mps,mp3309c.yaml
F:	drivers/video/backlight/mp3309c.c
MPS MP2993 DRIVER
M:	Noah Wang <noahwang.wang@outlook.com>
L:	linux-hwmon@vger.kernel.org
S:	Maintained
F:	Documentation/hwmon/mp2993.rst
F:	drivers/hwmon/pmbus/mp2993.c
MR800 AVERMEDIA USB FM RADIO DRIVER
M:	Alexey Klimov <klimov.linux@gmail.com>
L:	linux-media@vger.kernel.org
+9 −0
Original line number Diff line number Diff line
@@ -346,6 +346,15 @@ config SENSORS_MP2975
	  This driver can also be built as a module. If so, the module will
	  be called mp2975.

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

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

config SENSORS_MP2975_REGULATOR
	depends on SENSORS_MP2975 && REGULATOR
	bool "Regulator support for MPS MP2975"
+1 −0
Original line number Diff line number Diff line
@@ -37,6 +37,7 @@ obj-$(CONFIG_SENSORS_MAX8688) += max8688.o
obj-$(CONFIG_SENSORS_MP2856)	+= mp2856.o
obj-$(CONFIG_SENSORS_MP2888)	+= mp2888.o
obj-$(CONFIG_SENSORS_MP2975)	+= mp2975.o
obj-$(CONFIG_SENSORS_MP2993)	+= mp2993.o
obj-$(CONFIG_SENSORS_MP5023)	+= mp5023.o
obj-$(CONFIG_SENSORS_MP5990)	+= mp5990.o
obj-$(CONFIG_SENSORS_MPQ7932)	+= mpq7932.o
Loading