Skip to contentSkip to conversation

hwmon: Add support for MPS mpq82d00

PATCH Applied [email protected] 3 participants 6 messages Jul 4 – Jul 19

Subsystems (4)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

cover hwmon: Add support for MPS mpq82d00

From: Wensheng Wang <[email protected]>

Add mpq82d00 driver in hwmon and add dt-bindings for it.

Wensheng Wang (2):
dt-bindings: hwmon: Add MPS mpq82d00
hwmon: add MPQ82D00 driver

 .../devicetree/bindings/trivial-devices.yaml  |   2 +
 Documentation/hwmon/index.rst                 |   1 +
 Documentation/hwmon/mpq82d00.rst              |  73 +++++
 MAINTAINERS                                   |   7 +
 drivers/hwmon/pmbus/Kconfig                   |   9 +
 drivers/hwmon/pmbus/Makefile                  |   1 +
 drivers/hwmon/pmbus/mpq82d00.c                | 249 ++++++++++++++++++
 7 files changed, 342 insertions(+)
 create mode 100644 Documentation/hwmon/mpq82d00.rst
 create mode 100644 drivers/hwmon/pmbus/mpq82d00.c
Signature · 1 line
2.25.1
author maintainer
#1 lore raw

PATCH 1/2 dt-bindings: hwmon: Add MPS mpq82d00

From: Wensheng Wang <[email protected]>

Add support for MPS mpq82d00 controller.

---
 Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/trivial-devices.yaml +2 -0
index 435c4baab436..8116f21bf8be 100644
@@ -362,6 +362,8 @@ properties:
           - mps,mp9941
             # Monolithic Power Systems Inc. digital step-down converter mp9945
           - mps,mp9945
+            # Monolithic Power Systems Inc. digital step-down converter mpq82d00
+          - mps,mpq82d00
             # Murata D1U74T-W power supply unit
           - murata,d1u74t
             # Temperature sensor with integrated fan control
Signature · 1 line
2.25.1
author maintainer
#2 lore raw

PATCH 2/2 hwmon: add MPQ82D00 driver

From: Wensheng Wang <[email protected]>

Add support for MPS mpq82d00 controller. This driver exposes telemetry and limit value readings and writtings.

---
 Documentation/hwmon/index.rst    |   1 +
 Documentation/hwmon/mpq82d00.rst |  73 +++++++++
 MAINTAINERS                      |   7 +
 drivers/hwmon/pmbus/Kconfig      |   9 ++
 drivers/hwmon/pmbus/Makefile     |   1 +
 drivers/hwmon/pmbus/mpq82d00.c   | 249 +++++++++++++++++++++++++++++++
 6 files changed, 340 insertions(+)
 create mode 100644 Documentation/hwmon/mpq82d00.rst
 create mode 100644 drivers/hwmon/pmbus/mpq82d00.c
Documentation/hwmon/index.rst +1 -0
index 29130df44d12..5d8cf2f60c27 100644
@@ -201,6 +201,7 @@ Hardware Monitoring Kernel Drivers
    mp5990
    mp9941
    mp9945
+   mpq82d00
    mpq8785
    nct6683
    nct6775
Documentation/hwmon/mpq82d00.rst new file +73 -0

73 lines not on this page · raw message

MAINTAINERS +7 -0
index 15011f5752a9..c4cda9f664a1 100644
@@ -18325,6 +18325,13 @@ S:	Maintained
 F:	Documentation/hwmon/mp9945.rst
 F:	drivers/hwmon/pmbus/mp9945.c
 
+MPS MPQ82D00 DRIVER
+M:	Wensheng Wang <[email protected]>
+L:	[email protected]
+S:	Maintained
+F:	Documentation/hwmon/mpq82d00.rst
+F:	drivers/hwmon/pmbus/mpq82d00.c
+
 MR800 AVERMEDIA USB FM RADIO DRIVER
 M:	Alexey Klimov <[email protected]>
 L:	[email protected]
drivers/hwmon/pmbus/Kconfig +9 -0
index c8cda160b5f8..1804d366c2d9 100644
@@ -607,6 +607,15 @@ config SENSORS_MPQ7932
 	  This driver can also be built as a module. If so, the module will
 	  be called mpq7932.
 
+config SENSORS_MPQ82D00
+	tristate "MPS MPQ82D00"
+	help
+	  If you say yes here you get hardware monitoring functionality support
+	  for power management IC MPS MPQ82D00.
+
+	  This driver can also be built as a module. If so, the module will
+	  be called mpq82d00.
+
 config SENSORS_MPQ8785
 	tristate "MPS MPQ8785"
 	help
drivers/hwmon/pmbus/Makefile +1 -0
index ffc05f493213..31d62d01c3f0 100644
@@ -59,6 +59,7 @@ obj-$(CONFIG_SENSORS_MP5990)	+= mp5990.o
 obj-$(CONFIG_SENSORS_MP9941)	+= mp9941.o
 obj-$(CONFIG_SENSORS_MP9945)	+= mp9945.o
 obj-$(CONFIG_SENSORS_MPQ7932)	+= mpq7932.o
+obj-$(CONFIG_SENSORS_MPQ82D00)	+= mpq82d00.o
 obj-$(CONFIG_SENSORS_MPQ8785)	+= mpq8785.o
 obj-$(CONFIG_SENSORS_PLI1209BC)	+= pli1209bc.o
 obj-$(CONFIG_SENSORS_PM6764TR)	+= pm6764tr.o
drivers/hwmon/pmbus/mpq82d00.c new file +249 -0

249 lines not on this page · raw message

Signature · 1 line
2.25.1