swh:1:snp:173f8deb0c56c557784b4fd217e7608ac6197844
Raw File
Tip revision: 17b57b1883c1285f3d0dc2266e8f79286a7bef38 authored by Greg Kroah-Hartman on 30 September 2018, 14:15:35 UTC
Linux 4.19-rc6
Tip revision: 17b57b1
ina3221
Kernel driver ina3221
=====================

Supported chips:
  * Texas Instruments INA3221
    Prefix: 'ina3221'
    Addresses: I2C 0x40 - 0x43
    Datasheet: Publicly available at the Texas Instruments website
               http://www.ti.com/

Author: Andrew F. Davis <afd@ti.com>

Description
-----------

The Texas Instruments INA3221 monitors voltage, current, and power on the high
side of up to three D.C. power supplies. The INA3221 monitors both shunt drop
and supply voltage, with programmable conversion times and averaging, current
and power are calculated host-side from these.

Sysfs entries
-------------

in[123]_input           Bus voltage(mV) channels
curr[123]_input         Current(mA) measurement channels
shunt[123]_resistor     Shunt resistance(uOhm) channels
curr[123]_crit          Critical alert current(mA) setting, activates the
                          corresponding alarm when the respective current
                          is above this value
curr[123]_crit_alarm    Critical alert current limit exceeded
curr[123]_max           Warning alert current(mA) setting, activates the
                          corresponding alarm when the respective current
                          average is above this value.
curr[123]_max_alarm     Warning alert current limit exceeded
in[456]_input           Shunt voltage(uV) for channels 1, 2, and 3 respectively
back to top