dt-bindings: trivial-devices: add mps,mp5998
Subsystems (3)
PATCH 1/2 dt-bindings: trivial-devices: add mps,mp5998
Add dt-bindings for MPS mp5998 hot-swap controller.
Signed-off-by Cosmo Chou <[email protected]>
Acked-by Conor Dooley <[email protected]>
Signed-off-by Guenter Roeck <[email protected]>
--- Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/trivial-devices.yaml +2 -0
@@ -297,6 +297,8 @@ properties: - mps,mp5920 # Monolithic Power Systems Inc. multi-phase hot-swap controller mp5990 - mps,mp5990 + # Monolithic Power Systems Inc. multi-phase hot-swap controller mp5998 + - mps,mp5998 # Monolithic Power Systems Inc. digital step-down converter mp9941 - mps,mp9941 # Monolithic Power Systems Inc. synchronous step-down converter mpq8785
Signature · 1 line
2.43.0
PATCH 2/2 hwmon: (pmbus/mp5990) add support for MP5998
Add support for the MPS MP5998 hot-swap controller. Like MP5990, MP5998 uses EFUSE_CFG (0xC4) bit 9 to indicate linear/direct data format.
Signed-off-by Cosmo Chou <[email protected]>
Signed-off-by Guenter Roeck <[email protected]>
--- Documentation/hwmon/mp5990.rst | 30 +++++++++++++-- drivers/hwmon/pmbus/mp5990.c | 67 ++++++++++++++++++++++++++++++---- 2 files changed, 85 insertions(+), 12 deletions(-)
Documentation/hwmon/mp5990.rst +26 -4
@@ -9,9 +9,13 @@ Supported chips: Prefix: 'mp5990' - * Datasheet + Datasheet: Publicly available at the MPS website: https://www.monolithicpower.com/en/mp5990.html - Publicly available at the MPS website : https://www.monolithicpower.com/en/mp5990.html + * MPS MP5998 + + Prefix: 'mp5998' + + Datasheet: Not publicly available Author:
@@ -21,7 +25,7 @@ Description ----------- This driver implements support for Monolithic Power Systems, Inc. (MPS) -MP5990 Hot-Swap Controller. +MP5990 and MP5998 Hot-Swap Controller. Device compliant with:
@@ -53,7 +57,7 @@ The driver provides the following attributes for output voltage: **in2_alarm** -The driver provides the following attributes for output current: +The driver provides the following attributes for current: **curr1_input**
@@ -63,6 +67,14 @@ The driver provides the following attributes for output current: **curr1_max** +**curr2_input** + +**curr2_label** + +**curr2_max** + +**curr2_max_alarm** + The driver provides the following attributes for input power: **power1_input**
@@ -71,6 +83,16 @@ The driver provides the following attributes for input power: **power1_alarm** +The driver provides the following attributes for output power: + +**power2_input** + +**power2_label** + +**power2_max** + +**power2_max_alarm** + The driver provides the following attributes for temperature: **temp1_input**
drivers/hwmon/pmbus/mp5990.c +59 -8
104 lines not on this page · raw message
Signature · 1 line
2.43.0