Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751297AbdGPXe2 (ORCPT ); Sun, 16 Jul 2017 19:34:28 -0400 Received: from mail-out-1.itc.rwth-aachen.de ([134.130.5.46]:24726 "EHLO mail-out-1.itc.rwth-aachen.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751124AbdGPXeZ (ORCPT ); Sun, 16 Jul 2017 19:34:25 -0400 X-IronPort-AV: E=Sophos;i="5.40,372,1496095200"; d="scan'208";a="4032809" From: =?UTF-8?q?Stefan=20Br=C3=BCns?= To: CC: , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , =?UTF-8?q?Stefan=20Br=C3=BCns?= Subject: [PATCH 2/2] iio: Documentation: Add ina2xx shunt_resistor attribute documentation Date: Mon, 17 Jul 2017 01:34:10 +0200 X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170716233410.22880-1-stefan.bruens@rwth-aachen.de> References: <20170716233410.22880-1-stefan.bruens@rwth-aachen.de> 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) Message-ID: <2351a045a0564f5bb2af6c652d1fa5e3@rwthex-w2-b.rwth-ad.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1049 Lines: 25 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 --- 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