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


Groups > linux.kernel > #1688564 > unrolled thread

[PATCH 1/2] iio: Documentation: Add missing documentation for power attribute

Started byStefan Brüns <stefan.bruens@rwth-aachen.de>
First post2017-07-17 01:40 +0200
Last post2017-07-17 23:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#1688564 — [PATCH 1/2] iio: Documentation: Add missing documentation for power attribute

FromStefan Brüns <stefan.bruens@rwth-aachen.de>
Date2017-07-17 01:40 +0200
Subject[PATCH 1/2] iio: Documentation: Add missing documentation for power attribute
Message-ID<u41iO-5EP-29@gated-at.bofh.it>
Commit c43a102e67db ("iio: ina2xx: add support for TI INA2xx Power Monitors")
introduced the in_powerY_raw attribute, but omitted the corresponding
documentation.

The description is correct for the INA2xx and the MAX9611 IIO drivers.

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

diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
index 2db2cdf42d54..7eead5f97e02 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio
+++ b/Documentation/ABI/testing/sysfs-bus-iio
@@ -119,6 +119,15 @@ Description:
 		unique to allow association with event codes. Units after
 		application of scale and offset are milliamps.
 
+What:		/sys/bus/iio/devices/iio:deviceX/in_powerY_raw
+KernelVersion:	4.5
+Contact:	linux-iio@vger.kernel.org
+Description:
+		Raw (unscaled no bias removal etc.) power measurement from
+		channel Y. The number must always be specified and
+		unique to allow association with event codes. Units after
+		application of scale and offset are milliwatts.
+
 What:		/sys/bus/iio/devices/iio:deviceX/in_capacitanceY_raw
 KernelVersion:	3.2
 Contact:	linux-iio@vger.kernel.org
-- 
2.13.2

[toc] | [next] | [standalone]


#1689466 — Re: [PATCH 1/2] iio: Documentation: Add missing documentation for power attribute

FromJonathan Cameron <jic23@kernel.org>
Date2017-07-17 23:00 +0200
SubjectRe: [PATCH 1/2] iio: Documentation: Add missing documentation for power attribute
Message-ID<u4lhv-1tE-11@gated-at.bofh.it>
In reply to#1688564
On Mon, 17 Jul 2017 01:34:09 +0200
Stefan Brüns <stefan.bruens@rwth-aachen.de> wrote:

> Commit c43a102e67db ("iio: ina2xx: add support for TI INA2xx Power Monitors")
> introduced the in_powerY_raw attribute, but omitted the corresponding
> documentation.
> 
> The description is correct for the INA2xx and the MAX9611 IIO drivers.
> 
> Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Applied to the togreg branch of iio.git - initially pushed out
as testing.

Thanks,

Jonathan
> ---
>  Documentation/ABI/testing/sysfs-bus-iio | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
> index 2db2cdf42d54..7eead5f97e02 100644
> --- a/Documentation/ABI/testing/sysfs-bus-iio
> +++ b/Documentation/ABI/testing/sysfs-bus-iio
> @@ -119,6 +119,15 @@ Description:
>  		unique to allow association with event codes. Units after
>  		application of scale and offset are milliamps.
>  
> +What:		/sys/bus/iio/devices/iio:deviceX/in_powerY_raw
> +KernelVersion:	4.5
> +Contact:	linux-iio@vger.kernel.org
> +Description:
> +		Raw (unscaled no bias removal etc.) power measurement from
> +		channel Y. The number must always be specified and
> +		unique to allow association with event codes. Units after
> +		application of scale and offset are milliwatts.
> +
>  What:		/sys/bus/iio/devices/iio:deviceX/in_capacitanceY_raw
>  KernelVersion:	3.2
>  Contact:	linux-iio@vger.kernel.org

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web