blob: 1e34abb38b59952911831b8a9294284212327b31 [file] [log] [blame]
Andrew F. Davis7cb6dcf2016-06-10 10:32:33 -05001Kernel driver ina3221
2=====================
3
4Supported chips:
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -03005
Andrew F. Davis7cb6dcf2016-06-10 10:32:33 -05006 * Texas Instruments INA3221
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -03007
Andrew F. Davis7cb6dcf2016-06-10 10:32:33 -05008 Prefix: 'ina3221'
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -03009
Andrew F. Davis7cb6dcf2016-06-10 10:32:33 -050010 Addresses: I2C 0x40 - 0x43
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030011
Andrew F. Davis7cb6dcf2016-06-10 10:32:33 -050012 Datasheet: Publicly available at the Texas Instruments website
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030013
14 http://www.ti.com/
Andrew F. Davis7cb6dcf2016-06-10 10:32:33 -050015
16Author: Andrew F. Davis <afd@ti.com>
17
18Description
19-----------
20
21The Texas Instruments INA3221 monitors voltage, current, and power on the high
22side of up to three D.C. power supplies. The INA3221 monitors both shunt drop
23and supply voltage, with programmable conversion times and averaging, current
24and power are calculated host-side from these.
25
26Sysfs entries
27-------------
28
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030029======================= =======================================================
Nicolin Chena9e9dd92018-10-01 18:05:23 -070030in[123]_label Voltage channel labels
31in[123]_enable Voltage channel enable controls
Andrew F. Davis7cb6dcf2016-06-10 10:32:33 -050032in[123]_input Bus voltage(mV) channels
33curr[123]_input Current(mA) measurement channels
34shunt[123]_resistor Shunt resistance(uOhm) channels
35curr[123]_crit Critical alert current(mA) setting, activates the
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030036 corresponding alarm when the respective current
37 is above this value
Andrew F. Davis7cb6dcf2016-06-10 10:32:33 -050038curr[123]_crit_alarm Critical alert current limit exceeded
39curr[123]_max Warning alert current(mA) setting, activates the
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030040 corresponding alarm when the respective current
41 average is above this value.
Andrew F. Davis7cb6dcf2016-06-10 10:32:33 -050042curr[123]_max_alarm Warning alert current limit exceeded
43in[456]_input Shunt voltage(uV) for channels 1, 2, and 3 respectively
Nicolin Chen5c090ab2019-04-16 12:41:31 -070044samples Number of samples using in the averaging mode.
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030045
46 Supports the list of number of samples:
47
Nicolin Chen5c090ab2019-04-16 12:41:31 -070048 1, 4, 16, 64, 128, 256, 512, 1024
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030049======================= =======================================================