2016-06-10 18:32:33 +03:00
Kernel driver ina3221
=====================
Supported chips:
2019-04-17 12:46:28 +03:00
2016-06-10 18:32:33 +03:00
* Texas Instruments INA3221
2019-04-17 12:46:28 +03:00
2016-06-10 18:32:33 +03:00
Prefix: 'ina3221'
2019-04-17 12:46:28 +03:00
2016-06-10 18:32:33 +03:00
Addresses: I2C 0x40 - 0x43
2019-04-17 12:46:28 +03:00
2016-06-10 18:32:33 +03:00
Datasheet: Publicly available at the Texas Instruments website
2019-04-17 12:46:28 +03:00
http://www.ti.com/
2016-06-10 18:32:33 +03:00
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
-------------
2019-04-17 12:46:28 +03:00
======================= =======================================================
2018-10-02 04:05:23 +03:00
in[123]_ label Voltage channel labels
in[123]_ enable Voltage channel enable controls
2016-06-10 18:32:33 +03:00
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
2019-04-17 12:46:28 +03:00
corresponding alarm when the respective current
is above this value
2016-06-10 18:32:33 +03:00
curr[123]_ crit_alarm Critical alert current limit exceeded
curr[123]_ max Warning alert current(mA) setting, activates the
2019-04-17 12:46:28 +03:00
corresponding alarm when the respective current
average is above this value.
2016-06-10 18:32:33 +03:00
curr[123]_ max_alarm Warning alert current limit exceeded
in[456]_ input Shunt voltage(uV) for channels 1, 2, and 3 respectively
2019-04-16 22:41:31 +03:00
samples Number of samples using in the averaging mode.
2019-04-17 12:46:28 +03:00
Supports the list of number of samples:
2019-04-16 22:41:31 +03:00
1, 4, 16, 64, 128, 256, 512, 1024
2019-04-18 02:12:10 +03:00
update_interval Data conversion time in millisecond, following:
update_interval = C x S x (BC + SC)
* C: number of enabled channels
* S: number of samples
* BC: bus-voltage conversion time in millisecond
* SC: shunt-voltage conversion time in millisecond
Affects both Bus- and Shunt-voltage conversion time.
Note that setting update_interval to 0ms sets both BC
and SC to 140 us (minimum conversion time).
2019-04-17 12:46:28 +03:00
======================= =======================================================