Add mp2993,mp9941 driver in hwmon and add dt-bindings for them.
v1 -> v2:
1. add Krzysztof's Acked-by
2. remove useless code in mp2993.c and mp9941.c
Noah Wang (4):
dt-bindings: hwmon: Add MPS mp2993
hwmon: add MP2993 driver
dt-bindings: hwmon: Add MPS mp9941
hwmon: add MP9941 driver
.../devicetree/bindings/trivial-devices.yaml | 4 +
Documentation/hwmon/index.rst | 2 +
Documentation/hwmon/mp2993.rst | 150 +++++++++
Documentation/hwmon/mp9941.rst | 92 +++++
MAINTAINERS | 14 +
drivers/hwmon/pmbus/Kconfig | 18 +
drivers/hwmon/pmbus/Makefile | 2 +
drivers/hwmon/pmbus/mp2993.c | 261 ++++++++++++++
drivers/hwmon/pmbus/mp9941.c | 317 ++++++++++++++++++
9 files changed, 860 insertions(+)
create mode 100644 Documentation/hwmon/mp2993.rst
create mode 100644 Documentation/hwmon/mp9941.rst
create mode 100644 drivers/hwmon/pmbus/mp2993.c
create mode 100644 drivers/hwmon/pmbus/mp9941.c
--
2.25.1
Add support for MPS mp2993 controller
Acked-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Noah Wang <[email protected]>
---
v1 -> v2:
add Krzysztof's Acked-by
Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
index 0a419453d183..01cc431eb59e 100644
--- a/Documentation/devicetree/bindings/trivial-devices.yaml
+++ b/Documentation/devicetree/bindings/trivial-devices.yaml
@@ -292,6 +292,8 @@ properties:
- mps,mp2973
# Monolithic Power Systems Inc. multi-phase controller mp2975
- mps,mp2975
+ # Monolithic Power Systems Inc. multi-phase controller mp2993
+ - mps,mp2993
# Monolithic Power Systems Inc. multi-phase hot-swap controller mp5990
- mps,mp5990
# Monolithic Power Systems Inc. synchronous step-down converter mpq8785
--
2.25.1
On Tue, Jun 11, 2024 at 06:14:14PM +0800, Noah Wang wrote:
> Add support for MPS mp2993 controller
>
> Acked-by: Krzysztof Kozlowski <[email protected]>
> Signed-off-by: Noah Wang <[email protected]>
Applied.
Thanks,
Guenter