hwmon: Add support for MPS mp5926 chip
cover hwmon: Add support for MPS mp5926 chip
Backport mp5926 driver support to kernel 6.18.
Yuxi Wang (2):
dt-bindings: hwmon: Add mps mp5926 driver bindings
hwmon: add mp5926 driver
.../devicetree/bindings/trivial-devices.yaml | 2 + Documentation/hwmon/index.rst | 1 + Documentation/hwmon/mp5926.rst | 92 +++++++++ MAINTAINERS | 7 + drivers/hwmon/pmbus/Kconfig | 9 + drivers/hwmon/pmbus/Makefile | 1 + drivers/hwmon/pmbus/mp5926.c | 183 ++++++++++++++++++ 7 files changed, 295 insertions(+) create mode 100644 Documentation/hwmon/mp5926.rst create mode 100644 drivers/hwmon/pmbus/mp5926.c
Signature · 1 line
2.31.1
PATCH 1/2 dt-bindings: hwmon: Add mps mp5926 driver bindings
From: Yuxi Wang <[email protected]>
Add a device tree bindings for mp5926 device.
--- Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/trivial-devices.yaml +2 -0
@@ -315,6 +315,8 @@ properties: - mps,mp5023 # Monolithic Power Systems Inc. multi-phase hot-swap controller mp5920 - mps,mp5920 + # Monolithic Power Systems Inc. multi-phase hot-swap controller mp5926 + - mps,mp5926 # Monolithic Power Systems Inc. multi-phase hot-swap controller mp5990 - mps,mp5990 # Monolithic Power Systems Inc. multi-phase hot-swap controller mp5998
Signature · 1 line
2.31.1
PATCH 2/2 hwmon: add mp5926 driver
In reply to Potin LaiFrom: Yuxi Wang <[email protected]>
Add support for mps mp5926.
--- Documentation/hwmon/index.rst | 1 + Documentation/hwmon/mp5926.rst | 92 +++++++++++++++++ MAINTAINERS | 7 ++ drivers/hwmon/pmbus/Kconfig | 9 ++ drivers/hwmon/pmbus/Makefile | 1 + drivers/hwmon/pmbus/mp5926.c | 183 +++++++++++++++++++++++++++++++++ 6 files changed, 293 insertions(+) create mode 100644 Documentation/hwmon/mp5926.rst create mode 100644 drivers/hwmon/pmbus/mp5926.c
Documentation/hwmon/index.rst +1 -0
@@ -182,6 +182,7 @@ Hardware Monitoring Kernel Drivers mp2993 mp5023 mp5920 + mp5926 mp5990 mp9941 mpq8785
Documentation/hwmon/mp5926.rst new file +92 -0
93 lines not on this page · raw message
MAINTAINERS +7 -0
@@ -17515,6 +17515,13 @@ S: Maintained F: Documentation/hwmon/mp2993.rst F: drivers/hwmon/pmbus/mp2993.c +MPS MP5926 DRIVER +M: Yuxi Wang <[email protected]> +L: [email protected] +S: Maintained +F: Documentation/hwmon/mp5926.rst +F: drivers/hwmon/pmbus/mp5926.c + MPS MP9941 DRIVER M: Noah Wang <[email protected]> L: [email protected]
drivers/hwmon/pmbus/Kconfig +9 -0
@@ -453,6 +453,15 @@ config SENSORS_MP5920 This driver can also be built as a module. If so, the module will be called mp5920. +config SENSORS_MP5926 + tristate "MPS MP5926" + help + If you say yes here you get hardware monitoring support for Monolithic + MP5926. + + This driver can also be built as a module. If so, the module will + be called mp5926. + config SENSORS_MP5990 tristate "MPS MP5990" help
drivers/hwmon/pmbus/Makefile +1 -0
@@ -45,6 +45,7 @@ obj-$(CONFIG_SENSORS_MP2975) += mp2975.o obj-$(CONFIG_SENSORS_MP2993) += mp2993.o obj-$(CONFIG_SENSORS_MP5023) += mp5023.o obj-$(CONFIG_SENSORS_MP5920) += mp5920.o +obj-$(CONFIG_SENSORS_MP5926) += mp5926.o obj-$(CONFIG_SENSORS_MP5990) += mp5990.o obj-$(CONFIG_SENSORS_MP9941) += mp9941.o obj-$(CONFIG_SENSORS_MPQ7932) += mpq7932.o
drivers/hwmon/pmbus/mp5926.c new file +183 -0
184 lines not on this page · raw message
Signature · 1 line
2.31.1
Quoted 13 lines · Potin Lai
Backport mp5926 driver support to kernel 6.18.
Yuxi Wang (2):
dt-bindings: hwmon: Add mps mp5926 driver bindings
hwmon: add mp5926 driver.../devicetree/bindings/trivial-devices.yaml | 2 + Documentation/hwmon/index.rst | 1 + Documentation/hwmon/mp5926.rst | 92 +++++++++ MAINTAINERS | 7 + drivers/hwmon/pmbus/Kconfig | 9 + drivers/hwmon/pmbus/Makefile | 1 + drivers/hwmon/pmbus/mp5926.c | 183 ++++++++++++++++++
Quoted 3 lines
7 files changed, 295 insertions(+)create mode 100644
Documentation/hwmon/mp5926.rstcreate mode 100644drivers/hwmon/pmbus/mp5926.c
I've applied this series, however I've done it by backporting the patches out of hwmon-next. Please take a look at the dev-6.18 branch.
In the future, if you send backports like this, can you please include your Signed-off-by, and where appropriate, use git cherry-pick -x to make sure the commit-tracking information appears in the patch.
Thanks,
Andrew