lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170717215357.6452f0f5@kernel.org>
Date:   Mon, 17 Jul 2017 21:53:57 +0100
From:   Jonathan Cameron <jic23@...nel.org>
To:     Stefan Brüns <stefan.bruens@...h-aachen.de>
Cc:     <linux-iio@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
        Hartmut Knaack <knaack.h@....de>,
        Lars-Peter Clausen <lars@...afoo.de>,
        Peter Meerwald-Stadler <pmeerw@...erw.net>
Subject: Re: [PATCH 2/2] iio: Documentation: Add ina2xx shunt_resistor
 attribute documentation

On Mon, 17 Jul 2017 01:34:10 +0200
Stefan Brüns <stefan.bruens@...h-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@...h-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@...r.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.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ