Alexandru Tachici | b0bd407 | 2020-12-03 09:11:53 +0200 | [diff] [blame] | 1 | .. SPDX-License-Identifier: GPL-2.0 |
| 2 | |
| 3 | Kernel driver ltc2992 |
| 4 | ===================== |
| 5 | |
| 6 | Supported chips: |
| 7 | * Linear Technology LTC2992 |
| 8 | Prefix: 'ltc2992' |
| 9 | Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ltc2992.pdf |
| 10 | |
| 11 | Author: Alexandru Tachici <alexandru.tachici@analog.com> |
| 12 | |
| 13 | |
| 14 | Description |
| 15 | ----------- |
| 16 | |
| 17 | This driver supports hardware monitoring for Linear Technology LTC2992 power monitor. |
| 18 | |
| 19 | LTC2992 is a rail-to-rail system monitor that measures current, |
| 20 | voltage, and power of two supplies. |
| 21 | |
| 22 | Two ADCs simultaneously measure each supply’s current. A third ADC monitors |
| 23 | the input voltages and four auxiliary external voltages. |
| 24 | |
| 25 | |
| 26 | Sysfs entries |
| 27 | ------------- |
| 28 | |
| 29 | The following attributes are supported. Limits are read-write, |
| 30 | all other attributes are read-only. |
| 31 | |
| 32 | in_reset_history Reset all highest/lowest values. |
| 33 | |
| 34 | inX_input Measured voltage. |
| 35 | inX_lowest Minimum measured voltage. |
| 36 | inX_highest Maximum measured voltage. |
| 37 | inX_min Minimum voltage allowed. |
| 38 | inX_max Maximum voltage allowed. |
| 39 | inX_min_alarm An undervoltage occurred. Cleared on read. |
| 40 | inX_max_alarm An overvoltage occurred. Cleared on read. |
| 41 | |
| 42 | currX_input Measured current. |
| 43 | currX_lowest Minimum measured current. |
| 44 | currX_highest Maximum measured current. |
| 45 | currX_min Minimum current allowed. |
| 46 | currX_max Maximum current allowed. |
| 47 | currX_min_alarm An undercurrent occurred. Cleared on read. |
| 48 | currX_max_alarm An overcurrent occurred. Cleared on read. |
| 49 | |
| 50 | powerX_input Measured power. |
| 51 | powerX_input_lowest Minimum measured voltage. |
| 52 | powerX_input_highest Maximum measured voltage. |
| 53 | powerX_min Minimum power. |
| 54 | powerX_max Maximum power. |
| 55 | powerX_min_alarm An underpower occurred. Cleared on read. |
| 56 | powerX_max_alarm An overpower occurred. Cleared on read. |