Andrew F. Davis | 7cb6dcf | 2016-06-10 10:32:33 -0500 | [diff] [blame] | 1 | Kernel driver ina3221 |
| 2 | ===================== |
| 3 | |
| 4 | Supported chips: |
| 5 | * Texas Instruments INA3221 |
| 6 | Prefix: 'ina3221' |
| 7 | Addresses: I2C 0x40 - 0x43 |
| 8 | Datasheet: Publicly available at the Texas Instruments website |
| 9 | http://www.ti.com/ |
| 10 | |
| 11 | Author: Andrew F. Davis <afd@ti.com> |
| 12 | |
| 13 | Description |
| 14 | ----------- |
| 15 | |
| 16 | The Texas Instruments INA3221 monitors voltage, current, and power on the high |
| 17 | side of up to three D.C. power supplies. The INA3221 monitors both shunt drop |
| 18 | and supply voltage, with programmable conversion times and averaging, current |
| 19 | and power are calculated host-side from these. |
| 20 | |
| 21 | Sysfs entries |
| 22 | ------------- |
| 23 | |
| 24 | in[123]_input Bus voltage(mV) channels |
| 25 | curr[123]_input Current(mA) measurement channels |
| 26 | shunt[123]_resistor Shunt resistance(uOhm) channels |
| 27 | curr[123]_crit Critical alert current(mA) setting, activates the |
| 28 | corresponding alarm when the respective current |
| 29 | is above this value |
| 30 | curr[123]_crit_alarm Critical alert current limit exceeded |
| 31 | curr[123]_max Warning alert current(mA) setting, activates the |
| 32 | corresponding alarm when the respective current |
| 33 | average is above this value. |
| 34 | curr[123]_max_alarm Warning alert current limit exceeded |
| 35 | in[456]_input Shunt voltage(uV) for channels 1, 2, and 3 respectively |