| 1 |
.. SPDX-License-Identifier: GPL-2.0 |
| 2 |
|
| 3 |
Kernel driver mp5990 |
| 4 |
==================== |
| 5 |
|
| 6 |
Supported chips: |
| 7 |
|
| 8 |
* MPS MP5990 |
| 9 |
|
| 10 |
Prefix: 'mp5990' |
| 11 |
|
| 12 |
Datasheet: Publicly available at the MPS website: https://www.monolithicpower.com/en/mp5990.html |
| 13 |
|
| 14 |
* MPS MP5998 |
| 15 |
|
| 16 |
Prefix: 'mp5998' |
| 17 |
|
| 18 |
Datasheet: Not publicly available |
| 19 |
|
| 20 |
Author: |
| 21 |
|
| 22 |
Peter Yin <[email protected]> |
| 23 |
|
| 24 |
Description |
| 25 |
----------- |
| 26 |
|
| 27 |
This driver implements support for Monolithic Power Systems, Inc. (MPS) |
| 28 |
MP5990 and MP5998 Hot-Swap Controller. |
| 29 |
|
| 30 |
Device compliant with: |
| 31 |
|
| 32 |
- PMBus rev 1.3 interface. |
| 33 |
|
| 34 |
Device supports direct and linear format for reading input voltage, |
| 35 |
output voltage, output current, input power and temperature. |
| 36 |
|
| 37 |
The driver exports the following attributes via the 'sysfs' files |
| 38 |
for input voltage: |
| 39 |
|
| 40 |
**in1_input** |
| 41 |
|
| 42 |
**in1_label** |
| 43 |
|
| 44 |
**in1_max** |
| 45 |
|
| 46 |
**in1_max_alarm** |
| 47 |
|
| 48 |
**in1_min** |
| 49 |
|
| 50 |
**in1_min_alarm** |
| 51 |
|
| 52 |
The driver provides the following attributes for output voltage: |
| 53 |
|
| 54 |
**in2_input** |
| 55 |
|
| 56 |
**in2_label** |
| 57 |
|
| 58 |
**in2_alarm** |
| 59 |
|
| 60 |
The driver provides the following attributes for current: |
| 61 |
|
| 62 |
**curr1_input** |
| 63 |
|
| 64 |
**curr1_label** |
| 65 |
|
| 66 |
**curr1_alarm** |
| 67 |
|
| 68 |
**curr1_max** |
| 69 |
|
| 70 |
**curr2_input** |
| 71 |
|
| 72 |
**curr2_label** |
| 73 |
|
| 74 |
**curr2_max** |
| 75 |
|
| 76 |
**curr2_max_alarm** |
| 77 |
|
| 78 |
The driver provides the following attributes for input power: |
| 79 |
|
| 80 |
**power1_input** |
| 81 |
|
| 82 |
**power1_label** |
| 83 |
|
| 84 |
**power1_alarm** |
| 85 |
|
| 86 |
The driver provides the following attributes for output power: |
| 87 |
|
| 88 |
**power2_input** |
| 89 |
|
| 90 |
**power2_label** |
| 91 |
|
| 92 |
**power2_max** |
| 93 |
|
| 94 |
**power2_max_alarm** |
| 95 |
|
| 96 |
The driver provides the following attributes for temperature: |
| 97 |
|
| 98 |
**temp1_input** |
| 99 |
|
| 100 |
**temp1_max** |
| 101 |
|
| 102 |
**temp1_max_alarm** |
| 103 |
|
| 104 |
**temp1_crit** |
| 105 |
|
| 106 |
**temp1_crit_alarm** |