From: Jonathan Cameron <jic23@kernel.org>
To: "Stefan Brüns" <stefan.bruens@rwth-aachen.de>
Cc: <linux-iio@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
Hartmut Knaack <knaack.h@gmx.de>,
Lars-Peter Clausen <lars@metafoo.de>,
Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Subject: Re: [PATCH 2/2] iio: Documentation: Add ina2xx shunt_resistor attribute documentation
Date: Mon, 17 Jul 2017 21:53:57 +0100 [thread overview]
Message-ID: <20170717215357.6452f0f5@kernel.org> (raw)
In-Reply-To: <2351a045a0564f5bb2af6c652d1fa5e3@rwthex-w2-b.rwth-ad.de>
On Mon, 17 Jul 2017 01:34:10 +0200
Stefan Brüns <stefan.bruens@rwth-aachen.de> wrote:
> 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>
This has me confused. The documentation is already
there and lists it as being in ohms.
Ah, subtle filename difference. Docs in are
Documentation/ABI/testing/sysfs-bus-iio-ina2xx-adc
This attribute effectively exists for other parts
as well now.
Jonathan
> ---
> 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.
next prev parent reply other threads:[~2017-07-17 20:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20170716233410.22880-1-stefan.bruens@rwth-aachen.de>
2017-07-16 23:34 ` [PATCH 1/2] iio: Documentation: Add missing documentation for power attribute Stefan Brüns
2017-07-17 20:56 ` Jonathan Cameron
2017-07-16 23:34 ` [PATCH 2/2] iio: Documentation: Add ina2xx shunt_resistor attribute documentation Stefan Brüns
2017-07-17 20:53 ` Jonathan Cameron [this message]
2017-07-17 21:44 ` Brüns, Stefan
2017-07-18 10:20 ` Jonathan Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170717215357.6452f0f5@kernel.org \
--to=jic23@kernel.org \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pmeerw@pmeerw.net \
--cc=stefan.bruens@rwth-aachen.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).