Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1688565

[PATCH 2/2] iio: Documentation: Add ina2xx shunt_resistor attribute documentation

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Stefan Brüns <stefan.bruens@rwth-aachen.de>
Newsgroups linux.kernel
Subject [PATCH 2/2] iio: Documentation: Add ina2xx shunt_resistor attribute documentation
Date Mon, 17 Jul 2017 01:40:03 +0200
Message-ID <u41iP-5EP-33@gated-at.bofh.it> (permalink)
References <u41iO-5EP-31@gated-at.bofh.it>
X-Ironport-Av E=Sophos;i="5.40,372,1496095200"; d="scan'208";a="4032809"
X-Mailer git-send-email 2.13.2
MIME-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding 8bit
X-Originating-IP [78.48.3.86]
X-Clientproxiedby rwthex-w2-b.rwth-ad.de (2002:8682:1a9f::8682:1a9f) To rwthex-w2-b.rwth-ad.de (2002:8682:1a9f::8682:1a9f)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 25
Organization linux.* mail to news gateway
X-Original-Cc <linux-kernel@vger.kernel.org>, Jonathan Cameron <jic23@kernel.org>, Hartmut Knaack <knaack.h@gmx.de>, Lars-Peter Clausen <lars@metafoo.de>, Peter Meerwald-Stadler <pmeerw@pmeerw.net>, Stefan Brüns <stefan.bruens@rwth-aachen.de>
X-Original-Date Mon, 17 Jul 2017 01:34:10 +0200
X-Original-Message-ID <2351a045a0564f5bb2af6c652d1fa5e3@rwthex-w2-b.rwth-ad.de>
X-Original-References <20170716233410.22880-1-stefan.bruens@rwth-aachen.de>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1688565

Show key headers only | View raw


The ina2xx driver appeared in the Linux kernel version 4.5, but provided
no documentation. Contrary to other uses of resistance in IIO, ina2xx uses
microohms instead of ohms in the sysfs attribute.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
---
 Documentation/ABI/testing/sysfs-bus-iio-adc-ina2xx-adc | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-adc-ina2xx-adc

diff --git a/Documentation/ABI/testing/sysfs-bus-iio-adc-ina2xx-adc b/Documentation/ABI/testing/sysfs-bus-iio-adc-ina2xx-adc
new file mode 100644
index 000000000000..9525098f6822
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-bus-iio-adc-ina2xx-adc
@@ -0,0 +1,7 @@
+What:		/sys/bus/iio/devices/iio:deviceX/in_shunt_resistor
+Date:		December 2015
+KernelVersion:	4.5
+Contact:	linux-iio@vger.kernel.org
+Description: 	The value of the shunt resistor connected to the V_IN+ and V_IN-
+		inputs, used to compute the current flowing through the shunt and
+		the corresponding power. In microohms.
-- 
2.13.2

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH 2/2] iio: Documentation: Add ina2xx shunt_resistor attribute documentation Stefan Brüns <stefan.bruens@rwth-aachen.de> - 2017-07-17 01:40 +0200
  Re: [PATCH 2/2] iio: Documentation: Add ina2xx shunt_resistor  attribute documentation Jonathan Cameron <jic23@kernel.org> - 2017-07-17 23:00 +0200
    Re: [PATCH 2/2] iio: Documentation: Add ina2xx shunt_resistor  attribute documentation Brüns, Stefan <Stefan.Bruens@rwth-aachen.de> - 2017-07-17 23:50 +0200

csiph-web