linux-stable/Documentation
Nicolin Chen 023912dbb8 hwmon: (ina3221) Add voltage conversion time settings
The CONFIG register has two 3-bit fields for conversion time
settings of Bus-voltage and Shunt-voltage, respectively. The
conversion settings, along with averaging mode, allow users
to optimize available timing requirement.

This patch adds an 'update_interval' sysfs node through the
hwmon_chip_info of hwmon core. It reflects a total hardware
conversion time:
    samples * channels * (Bus + Shunt conversion times)

Though INA3221 supports different conversion time setups for
Bus and Shunt voltages, this patch only adds the support of
a unified setting for both conversion times, by dividing the
conversion time into two equal values.

Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
[groeck: .rst related formatting changes in documentation]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2019-04-18 06:44:11 -07:00
..
2019-03-16 13:05:32 -07:00
2019-03-16 12:36:39 -07:00
2019-03-10 10:17:23 -07:00
2019-03-14 09:11:54 -07:00
2019-03-28 08:54:20 -07:00
2019-02-11 10:35:35 +01:00
2018-10-25 06:50:48 -07:00
2018-03-26 12:13:21 -04:00
2018-12-18 16:13:04 +01:00
2019-02-28 13:30:55 +01:00
2019-02-22 08:50:17 -07:00
2019-03-10 12:47:57 -07:00
2018-05-08 09:16:41 -06:00