Howard.Chiu@quantatw.com | e1c5cd7 | 2021-12-09 04:48:54 +0000 | [diff] [blame] | 1 | .. SPDX-License-Identifier: GPL-2.0 |
| 2 | |
| 3 | Kernel driver mp5023 |
| 4 | ==================== |
| 5 | |
| 6 | Supported chips: |
| 7 | |
| 8 | * MPS MP5023 |
| 9 | |
| 10 | Prefix: 'mp5023' |
| 11 | |
| 12 | * Datasheet |
| 13 | |
| 14 | Publicly available at the MPS website : https://www.monolithicpower.com/en/mp5023.html |
| 15 | |
| 16 | Author: |
| 17 | |
| 18 | Howard Chiu <howard.chiu@quantatw.com> |
| 19 | |
| 20 | Description |
| 21 | ----------- |
| 22 | |
| 23 | This driver implements support for Monolithic Power Systems, Inc. (MPS) |
| 24 | MP5023 Hot-Swap Controller. |
| 25 | |
| 26 | Device complaint with: |
| 27 | |
| 28 | - PMBus rev 1.3 interface. |
| 29 | |
| 30 | Device supports direct format for reading input voltage, output voltage, |
| 31 | output current, input power and temperature. |
| 32 | |
| 33 | The driver exports the following attributes via the 'sysfs' files |
| 34 | for input voltage: |
| 35 | |
| 36 | **in1_input** |
| 37 | |
| 38 | **in1_label** |
| 39 | |
| 40 | **in1_max** |
| 41 | |
| 42 | **in1_max_alarm** |
| 43 | |
| 44 | **in1_min** |
| 45 | |
| 46 | **in1_min_alarm** |
| 47 | |
| 48 | The driver provides the following attributes for output voltage: |
| 49 | |
| 50 | **in2_input** |
| 51 | |
| 52 | **in2_label** |
| 53 | |
| 54 | **in2_alarm** |
| 55 | |
| 56 | The driver provides the following attributes for output current: |
| 57 | |
| 58 | **curr1_input** |
| 59 | |
| 60 | **curr1_label** |
| 61 | |
| 62 | **curr1_alarm** |
| 63 | |
| 64 | **curr1_max** |
| 65 | |
| 66 | The driver provides the following attributes for input power: |
| 67 | |
| 68 | **power1_input** |
| 69 | |
| 70 | **power1_label** |
| 71 | |
| 72 | **power1_alarm** |
| 73 | |
| 74 | The driver provides the following attributes for temperature: |
| 75 | |
| 76 | **temp1_input** |
| 77 | |
| 78 | **temp1_max** |
| 79 | |
| 80 | **temp1_max_alarm** |
| 81 | |
| 82 | **temp1_crit** |
| 83 | |
| 84 | **temp1_crit_alarm** |