hwmon: (ina2xx) implement update_interval attribute for ina226
[linux-2.6-block.git] / Documentation / hwmon / ina2xx
index 320dd69fb5e6a9793ef67e3ba26a96e525aa5cee..450e3ccd983d8386cd4ebb625c8e017f1c88e163 100644 (file)
@@ -48,3 +48,10 @@ The shunt value in micro-ohms can be set via platform data or device tree at
 compile-time or via the shunt_resistor attribute in sysfs at run-time. Please
 refer to the Documentation/devicetree/bindings/i2c/ina2xx.txt for bindings
 if the device tree is used.
+
+Additionally ina226 supports update_interval attribute as described in
+Documentation/hwmon/sysfs-interface. Internally the interval is the sum of
+bus and shunt voltage conversion times multiplied by the averaging rate. We
+don't touch the conversion times and only modify the number of averages. The
+lower limit of the update_interval is 2 ms, the upper limit is 2253 ms.
+The actual programmed interval may vary from the desired value.