~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/hwmon/ina3221.rst

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/hwmon/ina3221.rst (Version linux-6.11.5) and /Documentation/hwmon/ina3221.rst (Version linux-6.0.19)


  1 Kernel driver ina3221                               1 Kernel driver ina3221
  2 =====================                               2 =====================
  3                                                     3 
  4 Supported chips:                                    4 Supported chips:
  5                                                     5 
  6   * Texas Instruments INA3221                       6   * Texas Instruments INA3221
  7                                                     7 
  8     Prefix: 'ina3221'                               8     Prefix: 'ina3221'
  9                                                     9 
 10     Addresses: I2C 0x40 - 0x43                     10     Addresses: I2C 0x40 - 0x43
 11                                                    11 
 12     Datasheet: Publicly available at the Texas     12     Datasheet: Publicly available at the Texas Instruments website
 13                                                    13 
 14                https://www.ti.com/                 14                https://www.ti.com/
 15                                                    15 
 16 Author: Andrew F. Davis <afd@ti.com>                16 Author: Andrew F. Davis <afd@ti.com>
 17                                                    17 
 18 Description                                        18 Description
 19 -----------                                        19 -----------
 20                                                    20 
 21 The Texas Instruments INA3221 monitors voltage     21 The Texas Instruments INA3221 monitors voltage, current, and power on the high
 22 side of up to three D.C. power supplies. The I     22 side of up to three D.C. power supplies. The INA3221 monitors both shunt drop
 23 and supply voltage, with programmable conversi     23 and supply voltage, with programmable conversion times and averaging, current
 24 and power are calculated host-side from these.     24 and power are calculated host-side from these.
 25                                                    25 
 26 Sysfs entries                                      26 Sysfs entries
 27 -------------                                      27 -------------
 28                                                    28 
 29 ======================= ======================     29 ======================= =======================================================
 30 in[123]_label           Voltage channel labels     30 in[123]_label           Voltage channel labels
 31 in[123]_enable          Voltage channel enable     31 in[123]_enable          Voltage channel enable controls
 32 in[123]_input           Bus voltage(mV) channe     32 in[123]_input           Bus voltage(mV) channels
 33 curr[123]_input         Current(mA) measuremen     33 curr[123]_input         Current(mA) measurement channels
 34 shunt[123]_resistor     Shunt resistance(uOhm)     34 shunt[123]_resistor     Shunt resistance(uOhm) channels
 35 curr[123]_crit          Critical alert current     35 curr[123]_crit          Critical alert current(mA) setting, activates the
 36                         corresponding alarm wh     36                         corresponding alarm when the respective current
 37                         is above this value        37                         is above this value
 38 curr[123]_crit_alarm    Critical alert current     38 curr[123]_crit_alarm    Critical alert current limit exceeded
 39 curr[123]_max           Warning alert current(     39 curr[123]_max           Warning alert current(mA) setting, activates the
 40                         corresponding alarm wh     40                         corresponding alarm when the respective current
 41                         average is above this      41                         average is above this value.
 42 curr[123]_max_alarm     Warning alert current      42 curr[123]_max_alarm     Warning alert current limit exceeded
 43 in[456]_input           Shunt voltage(uV) for      43 in[456]_input           Shunt voltage(uV) for channels 1, 2, and 3 respectively
 44 in7_input               Sum of shunt voltage(u     44 in7_input               Sum of shunt voltage(uV) channels
 45 in7_label               Channel label for sum      45 in7_label               Channel label for sum of shunt voltage
 46 curr4_input             Sum of current(mA) mea     46 curr4_input             Sum of current(mA) measurement channels,
 47                         (only available when a     47                         (only available when all channels use the same resistor
 48                         value for their shunt      48                         value for their shunt resistors)
 49 curr4_crit              Critical alert current     49 curr4_crit              Critical alert current(mA) setting for sum of current
 50                         measurements, activate     50                         measurements, activates the corresponding alarm
 51                         when the respective cu     51                         when the respective current is above this value
 52                         (only effective when a     52                         (only effective when all channels use the same resistor
 53                         value for their shunt      53                         value for their shunt resistors)
 54 curr4_crit_alarm        Critical alert current     54 curr4_crit_alarm        Critical alert current limit exceeded for sum of
 55                         current measurements.      55                         current measurements.
 56 samples                 Number of samples usin     56 samples                 Number of samples using in the averaging mode.
 57                                                    57 
 58                         Supports the list of n     58                         Supports the list of number of samples:
 59                                                    59 
 60                           1, 4, 16, 64, 128, 2     60                           1, 4, 16, 64, 128, 256, 512, 1024
 61                                                    61 
 62 update_interval         Data conversion time i     62 update_interval         Data conversion time in millisecond, following:
 63                                                    63 
 64                           update_interval = C      64                           update_interval = C x S x (BC + SC)
 65                                                    65 
 66                           * C:  number of enab     66                           * C:  number of enabled channels
 67                           * S:  number of samp     67                           * S:  number of samples
 68                           * BC: bus-voltage co     68                           * BC: bus-voltage conversion time in millisecond
 69                           * SC: shunt-voltage      69                           * SC: shunt-voltage conversion time in millisecond
 70                                                    70 
 71                         Affects both Bus- and      71                         Affects both Bus- and Shunt-voltage conversion time.
 72                         Note that setting upda     72                         Note that setting update_interval to 0ms sets both BC
 73                         and SC to 140 us (mini     73                         and SC to 140 us (minimum conversion time).
 74 ======================= ======================     74 ======================= =======================================================
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php