| 1 |
.. SPDX-License-Identifier: GPL-2.0 |
| 2 |
|
| 3 |
Kernel driver tps25990 |
| 4 |
====================== |
| 5 |
|
| 6 |
Supported chips: |
| 7 |
|
| 8 |
* TI TPS25990 |
| 9 |
|
| 10 |
Prefix: 'tps25990' |
| 11 |
|
| 12 |
* Datasheet |
| 13 |
|
| 14 |
Publicly available at Texas Instruments website: https://www.ti.com/lit/gpn/tps25990 |
| 15 |
|
| 16 |
Author: |
| 17 |
|
| 18 |
Jerome Brunet <[email protected]> |
| 19 |
|
| 20 |
Description |
| 21 |
----------- |
| 22 |
|
| 23 |
This driver implements support for TI TPS25990 eFuse. |
| 24 |
This is an integrated, high-current circuit protection and power |
| 25 |
management device with PMBUS interface |
| 26 |
|
| 27 |
Device compliant with: |
| 28 |
|
| 29 |
- PMBus rev 1.3 interface. |
| 30 |
|
| 31 |
Device supports direct format for reading input voltages, |
| 32 |
output voltage, input current, input power and temperature. |
| 33 |
|
| 34 |
Due to the specificities of the chip, all history reset attributes |
| 35 |
are tied together. Resetting the history of a sensor, resets the |
| 36 |
history of all the sensors. |
| 37 |
|
| 38 |
The driver exports the following attributes via the 'sysfs' files |
| 39 |
for input current: |
| 40 |
|
| 41 |
**curr1_average** |
| 42 |
|
| 43 |
**curr1_crit** |
| 44 |
|
| 45 |
**curr1_crit_alarm** |
| 46 |
|
| 47 |
**curr1_highest** |
| 48 |
|
| 49 |
**curr1_input** |
| 50 |
|
| 51 |
**curr1_label** |
| 52 |
|
| 53 |
**curr1_max** |
| 54 |
|
| 55 |
**curr1_max_alarm** |
| 56 |
|
| 57 |
**curr1_reset_history** |
| 58 |
|
| 59 |
The driver provides the following attributes for main input voltage: |
| 60 |
|
| 61 |
**in1_average** |
| 62 |
|
| 63 |
**in1_crit** |
| 64 |
|
| 65 |
**in1_crit_alarm** |
| 66 |
|
| 67 |
**in1_highest** |
| 68 |
|
| 69 |
**in1_input** |
| 70 |
|
| 71 |
**in1_label** |
| 72 |
|
| 73 |
**in1_lcrit** |
| 74 |
|
| 75 |
**in1_lcrit_alarm** |
| 76 |
|
| 77 |
**in1_lowest** |
| 78 |
|
| 79 |
**in1_max** |
| 80 |
|
| 81 |
**in1_max_alarm** |
| 82 |
|
| 83 |
**in1_min** |
| 84 |
|
| 85 |
**in1_min_alarm** |
| 86 |
|
| 87 |
**in1_reset_history** |
| 88 |
|
| 89 |
The driver provides the following attributes for auxiliary input voltage: |
| 90 |
|
| 91 |
**in2_input** |
| 92 |
|
| 93 |
**in2_label** |
| 94 |
|
| 95 |
The driver provides the following attributes for output voltage: |
| 96 |
|
| 97 |
**in3_average** |
| 98 |
|
| 99 |
**in3_input** |
| 100 |
|
| 101 |
**in3_label** |
| 102 |
|
| 103 |
**in3_lowest** |
| 104 |
|
| 105 |
**in3_min** |
| 106 |
|
| 107 |
**in3_min_alarm** |
| 108 |
|
| 109 |
**in3_reset_history** |
| 110 |
|
| 111 |
The driver provides the following attributes for input power: |
| 112 |
|
| 113 |
**power1_alarm** |
| 114 |
|
| 115 |
**power1_average** |
| 116 |
|
| 117 |
**power1_input** |
| 118 |
|
| 119 |
**power1_input_highest** |
| 120 |
|
| 121 |
**power1_label** |
| 122 |
|
| 123 |
**power1_max** |
| 124 |
|
| 125 |
**power1_reset_history** |
| 126 |
|
| 127 |
The driver provides the following attributes for temperature: |
| 128 |
|
| 129 |
**temp1_average** |
| 130 |
|
| 131 |
**temp1_crit** |
| 132 |
|
| 133 |
**temp1_crit_alarm** |
| 134 |
|
| 135 |
**temp1_highest** |
| 136 |
|
| 137 |
**temp1_input** |
| 138 |
|
| 139 |
**temp1_max** |
| 140 |
|
| 141 |
**temp1_max_alarm** |
| 142 |
|
| 143 |
**temp1_reset_history** |
| 144 |
|
| 145 |
The driver provides the following attributes for sampling: |
| 146 |
|
| 147 |
**samples** |