Skip to contentSkip to conversation

hwmon: (pmbus) MPS mp5990 hsc controller

PATCH Applied Potin Lai 2 participants 4 messages Nov 22, 2023 – Dec 7, 2023

Subsystems (3)
lore
Share & tools
lore

Potin Lai

author
#0 lore raw

cover hwmon: (pmbus) MPS mp5990 hsc controller

Add MPS mp5990 hot-swap controller.

Peter Yin (2):
dt-bindings: hwmon: Add mps mp5990 driver bindings
hwmon: (pmbus) Add support for MPS Multi-phase mp5990

 .../devicetree/bindings/trivial-devices.yaml  |   2 +
 Documentation/hwmon/index.rst                 |   1 +
 Documentation/hwmon/mp5990.rst                |  84 +++++++++
 drivers/hwmon/pmbus/Kconfig                   |   9 +
 drivers/hwmon/pmbus/Makefile                  |   1 +
 drivers/hwmon/pmbus/mp5990.c                  | 177 ++++++++++++++++++
 6 files changed, 274 insertions(+)
 create mode 100644 Documentation/hwmon/mp5990.rst
 create mode 100644 drivers/hwmon/pmbus/mp5990.c
Signature · 1 line
2.31.1
author
#1 lore raw

PATCH 1/2 dt-bindings: hwmon: Add mps mp5990 driver bindings

From: Peter Yin <[email protected]>

Add a device tree bindings for mp5990 device.

---
 Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/trivial-devices.yaml +2 -0
index 7680c8a9b4ade..eb83ab4c02ee1 100644
@@ -123,6 +123,8 @@ properties:
           - mps,mp2888
             # Monolithic Power Systems Inc. multi-phase controller mp2975
           - mps,mp2975
+            # Monolithic Power Systems Inc. multi-phase hot-swap controller mp5990
+          - mps,mp5990
             # Honeywell Humidicon HIH-6130 humidity/temperature sensor
           - honeywell,hi6130
             # IBM Common Form Factor Power Supply Versions (all versions)
Signature · 1 line
2.31.1
author
#2 lore raw

PATCH 2/2 hwmon: (pmbus) Add support for MPS Multi-phase mp5990

In reply to Potin Lai

From: Peter Yin <[email protected]>

Add support for mp5990 device from Monolithic Power Systems, Inc. (MPS) vendor. This is a Hot-Swap Controller.

---
 Documentation/hwmon/index.rst  |   1 +
 Documentation/hwmon/mp5990.rst |  84 ++++++++++++++++
 drivers/hwmon/pmbus/Kconfig    |   9 ++
 drivers/hwmon/pmbus/Makefile   |   1 +
 drivers/hwmon/pmbus/mp5990.c   | 177 +++++++++++++++++++++++++++++++++
 5 files changed, 272 insertions(+)
 create mode 100644 Documentation/hwmon/mp5990.rst
 create mode 100644 drivers/hwmon/pmbus/mp5990.c
Documentation/hwmon/index.rst +1 -0
index 75b869ff6c53e..1247244b8b4c1 100644
@@ -158,6 +158,7 @@ Hardware Monitoring Kernel Drivers
    mp2888
    mp2975
    mp5023
+   mp5990
    nct6683
    nct6775
    nct7802
Documentation/hwmon/mp5990.rst new file +84 -0

84 lines not on this page · raw message

drivers/hwmon/pmbus/Kconfig +9 -0
index 2b43326b602b9..20391bdde16a9 100644
@@ -335,6 +335,15 @@ config SENSORS_MP5023
 	  This driver can also be built as a module. If so, the module will
 	  be called mp5023.
 
+config SENSORS_MP5990
+	tristate "MPS MP5990"
+	help
+	  If you say yes here you get hardware monitoring support for MPS
+	  MP5990.
+
+	  This driver can also be built as a module. If so, the module will
+	  be called mp5990.
+
 config SENSORS_MPQ7932_REGULATOR
 	bool "Regulator support for MPQ7932"
 	depends on SENSORS_MPQ7932 && REGULATOR
drivers/hwmon/pmbus/Makefile +1 -0
index 94e28f6d6a618..eea38c77ed1db 100644
@@ -36,6 +36,7 @@ obj-$(CONFIG_SENSORS_MAX8688)	+= max8688.o
 obj-$(CONFIG_SENSORS_MP2888)	+= mp2888.o
 obj-$(CONFIG_SENSORS_MP2975)	+= mp2975.o
 obj-$(CONFIG_SENSORS_MP5023)	+= mp5023.o
+obj-$(CONFIG_SENSORS_MP5990)	+= mp5990.o
 obj-$(CONFIG_SENSORS_MPQ7932)	+= mpq7932.o
 obj-$(CONFIG_SENSORS_PLI1209BC)	+= pli1209bc.o
 obj-$(CONFIG_SENSORS_PM6764TR)	+= pm6764tr.o
drivers/hwmon/pmbus/mp5990.c new file +177 -0

177 lines not on this page · raw message

Signature · 1 line
2.31.1