aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/hwmon/lm25066.rst
diff options
context:
space:
mode:
authorNicolin Chen <nicoleotsuka@gmail.com>2019-10-16 16:57:02 -0700
committerGuenter Roeck <linux@roeck-us.net>2019-11-06 14:37:19 -0800
commit2057bdfb7184e9833182bf9ffcb234988f545f41 (patch)
tree1798aaf1fe24e8b6b4875747e5578953cd278cc1 /Documentation/hwmon/lm25066.rst
parenthwmon: (tmp421) Allow reading at 2Hz instead of 0.5Hz (diff)
downloadlinux-dev-2057bdfb7184e9833182bf9ffcb234988f545f41.tar.xz
linux-dev-2057bdfb7184e9833182bf9ffcb234988f545f41.zip
hwmon: (ina3221) Add summation feature support
This patch implements the summation feature of INA3221, mainly the SCC (enabling) and SF (warning flag) bits of MASK_ENABLE register, INA3221_SHUNT_SUM (summation of shunt voltages) register, and the INA3221_CRIT_SUM (its critical alert setting) register. Although the summation feature allows user to select which channels to be added to the result, as an initial support, this patch simply selects all channels by default, with one only condition: all shunt resistor values need to be the same. This is because the summation of current channels can be only accurately calculated, using shunt voltage sum register, if all shunt resistors are equivalent. Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com> Link: https://lore.kernel.org/r/20191016235702.22039-1-nicoleotsuka@gmail.com [groeck: summation->sum in documentation and label] Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon/lm25066.rst')
0 files changed, 0 insertions, 0 deletions