mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
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 <chou.cosmo@gmail.com> Link: https://lore.kernel.org/r/20250916095026.800164-2-chou.cosmo@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
107 lines
1.5 KiB
ReStructuredText
107 lines
1.5 KiB
ReStructuredText
.. SPDX-License-Identifier: GPL-2.0
|
|
|
|
Kernel driver mp5990
|
|
====================
|
|
|
|
Supported chips:
|
|
|
|
* MPS MP5990
|
|
|
|
Prefix: 'mp5990'
|
|
|
|
Datasheet: Publicly available at the MPS website: https://www.monolithicpower.com/en/mp5990.html
|
|
|
|
* MPS MP5998
|
|
|
|
Prefix: 'mp5998'
|
|
|
|
Datasheet: Not publicly available
|
|
|
|
Author:
|
|
|
|
Peter Yin <peteryin.openbmc@gmail.com>
|
|
|
|
Description
|
|
-----------
|
|
|
|
This driver implements support for Monolithic Power Systems, Inc. (MPS)
|
|
MP5990 and MP5998 Hot-Swap Controller.
|
|
|
|
Device compliant with:
|
|
|
|
- PMBus rev 1.3 interface.
|
|
|
|
Device supports direct and linear format for reading input voltage,
|
|
output voltage, output current, input power and temperature.
|
|
|
|
The driver exports the following attributes via the 'sysfs' files
|
|
for input voltage:
|
|
|
|
**in1_input**
|
|
|
|
**in1_label**
|
|
|
|
**in1_max**
|
|
|
|
**in1_max_alarm**
|
|
|
|
**in1_min**
|
|
|
|
**in1_min_alarm**
|
|
|
|
The driver provides the following attributes for output voltage:
|
|
|
|
**in2_input**
|
|
|
|
**in2_label**
|
|
|
|
**in2_alarm**
|
|
|
|
The driver provides the following attributes for current:
|
|
|
|
**curr1_input**
|
|
|
|
**curr1_label**
|
|
|
|
**curr1_alarm**
|
|
|
|
**curr1_max**
|
|
|
|
**curr2_input**
|
|
|
|
**curr2_label**
|
|
|
|
**curr2_max**
|
|
|
|
**curr2_max_alarm**
|
|
|
|
The driver provides the following attributes for input power:
|
|
|
|
**power1_input**
|
|
|
|
**power1_label**
|
|
|
|
**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**
|
|
|
|
**temp1_max**
|
|
|
|
**temp1_max_alarm**
|
|
|
|
**temp1_crit**
|
|
|
|
**temp1_crit_alarm**
|