Skip to contentSkip to conversation

hwmon: (pmbus) Add support for MPS Multi-phase mp2856/mp2857 controller

PATCH New Potin Lai 1 participant 3 messages Dec 18, 2023

Subsystems (3)
lore
Share & tools
lore

Potin Lai

author
#0 lore raw

cover hwmon: (pmbus) Add support for MPS Multi-phase mp2856/mp2857 controller

Add support for mp2856/mp2857 device from Monolithic Power Systems, Inc. (MPS) vendor. This is a dual-loop, digital, multi-phase, modulation controller.

Peter Yin (2):
dt-bindings: Add MP2856/MP2857 voltage regulator device
hwmon: (pmbus) Add support for MPS Multi-phase mp2856/mp2857
controller

 .../devicetree/bindings/trivial-devices.yaml  |   4 +
 Documentation/hwmon/index.rst                 |   1 +
 Documentation/hwmon/mp2856.rst                |  98 ++++
 drivers/hwmon/pmbus/Kconfig                   |   9 +
 drivers/hwmon/pmbus/Makefile                  |   1 +
 drivers/hwmon/pmbus/mp2856.c                  | 466 ++++++++++++++++++
 6 files changed, 579 insertions(+)
 create mode 100644 Documentation/hwmon/mp2856.rst
 create mode 100644 drivers/hwmon/pmbus/mp2856.c
Signature · 1 line
2.31.1
author
#1 lore raw

PATCH 1/2 dt-bindings: Add MP2856/MP2857 voltage regulator device

From: Peter Yin <[email protected]>

Monolithic Power Systems, Inc. (MPS) MP2856/MP2857 dual-loop, digital, multi-phase controller.

---
 Documentation/devicetree/bindings/trivial-devices.yaml | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/trivial-devices.yaml +4 -0
index 386ebd1471d0e..c847a532283d4 100644
@@ -119,6 +119,10 @@ properties:
           - fsl,mpl3115
             # MPR121: Proximity Capacitive Touch Sensor Controller
           - fsl,mpr121
+            # Monolithic Power Systems Inc. multi-phase controller mp2856
+          - mps,mp2856
+            # Monolithic Power Systems Inc. multi-phase controller mp2857
+          - mps,mp2857
             # Monolithic Power Systems Inc. multi-phase controller mp2888
           - mps,mp2888
             # Monolithic Power Systems Inc. multi-phase controller mp2971
Signature · 1 line
2.31.1
author
#2 lore raw

PATCH 2/2 hwmon: (pmbus) Add support for MPS Multi-phase mp2856/mp2857 controller

In reply to Potin Lai

From: Peter Yin <[email protected]>

Add support for mp2856/mp2857 device from Monolithic Power Systems, Inc. (MPS) vendor. This is a dual-loop, digital, multi-phase, modulation controller.

---
 Documentation/hwmon/index.rst  |   1 +
 Documentation/hwmon/mp2856.rst |  98 +++++++
 drivers/hwmon/pmbus/Kconfig    |   9 +
 drivers/hwmon/pmbus/Makefile   |   1 +
 drivers/hwmon/pmbus/mp2856.c   | 466 +++++++++++++++++++++++++++++++++
 5 files changed, 575 insertions(+)
 create mode 100644 Documentation/hwmon/mp2856.rst
 create mode 100644 drivers/hwmon/pmbus/mp2856.c
Documentation/hwmon/index.rst +1 -0
index fac861e2a8ab4..e45999f8e6740 100644
@@ -156,6 +156,7 @@ Hardware Monitoring Kernel Drivers
    mcp3021
    menf21bmc
    mlxreg-fan
+   mp2856
    mp2888
    mp2975
    mp5023
Documentation/hwmon/mp2856.rst new file +98 -0

98 lines not on this page · raw message

drivers/hwmon/pmbus/Kconfig +9 -0
index 02208d76e8223..95013c95f258a 100644
@@ -308,6 +308,15 @@ config SENSORS_MAX8688
 	  This driver can also be built as a module. If so, the module will
 	  be called max8688.
 
+config SENSORS_MP2856
+	tristate "MPS MP2856"
+	help
+	  If you say yes here you get hardware monitoring support for MPS
+	  MP2856 MP2857 Dual Loop Digital Multi-Phase Controller.
+
+	  This driver can also be built as a module. If so, the module will
+	  be called mp2856.
+
 config SENSORS_MP2888
 	tristate "MPS MP2888"
 	help
drivers/hwmon/pmbus/Makefile +1 -0
index eea38c77ed1db..cf8a767445456 100644
@@ -33,6 +33,7 @@ obj-$(CONFIG_SENSORS_MAX20751)	+= max20751.o
 obj-$(CONFIG_SENSORS_MAX31785)	+= max31785.o
 obj-$(CONFIG_SENSORS_MAX34440)	+= max34440.o
 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_MP5023)	+= mp5023.o
drivers/hwmon/pmbus/mp2856.c new file +466 -0

466 lines not on this page · raw message

Signature · 1 line
2.31.1