Re: [PATCH 2/3] docs: hwmon: Add support for ina2xx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/24/20 3:26 PM, Franz Forstmayr wrote:
Add documentation for INA260, power/current monitor with I2C interface.


Subject should match description here (this patch does not add support
for ina2xx).

Signed-off-by: Franz Forstmayr <forstmayr.franz@xxxxxxxxx>
---
  Documentation/hwmon/ina2xx.rst | 19 ++++++++++++++++---
  1 file changed, 16 insertions(+), 3 deletions(-)

diff --git a/Documentation/hwmon/ina2xx.rst b/Documentation/hwmon/ina2xx.rst
index 94b9a260c518..74267dd433dd 100644
--- a/Documentation/hwmon/ina2xx.rst
+++ b/Documentation/hwmon/ina2xx.rst
@@ -53,6 +53,16 @@ Supported chips:
http://www.ti.com/ + * Texas Instruments INA260
+
+    Prefix: 'ina260'
+
+    Addresses: I2C 0x40 - 0x4f
+
+    Datasheet: Publicly available at the Texas Instruments website
+
+         http://www.ti.com/
+
  Author: Lothar Felten <lothar.felten@xxxxxxxxx>
Description
@@ -72,14 +82,17 @@ INA230 and INA231 are high or low side current shunt and power monitors
  with an I2C interface. The chips monitor both a shunt voltage drop and
  bus supply voltage.
+INA260 is a high or low side current and power monitor with an integrated
+shunt and I2C interface.
+
  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/hwmon/ina2xx.txt for bindings
  if the device tree is used.
-Additionally ina226 supports update_interval attribute as described in
-Documentation/hwmon/sysfs-interface.rst. Internally the interval is the sum of
-bus and shunt voltage conversion times multiplied by the averaging rate. We
+Additionally ina226 and ina260 supports update_interval attribute as described

s/supports/support/

+in Documentation/hwmon/sysfs-interface.rst. 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.





[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux