Linux IIO development
 help / color / mirror / Atom feed
* [PATCH] doc: iio: Document intensity scale as poorly defined
@ 2023-12-07 13:41 Marek Vasut
  2023-12-10 11:58 ` Jonathan Cameron
  0 siblings, 1 reply; 3+ messages in thread
From: Marek Vasut @ 2023-12-07 13:41 UTC (permalink / raw)
  To: linux-iio; +Cc: Marek Vasut, Jonathan Cameron, Lars-Peter Clausen

Add comment about intensity scale being poorly defined and
having no proper units.

Signed-off-by: Marek Vasut <marex@denx.de>
---
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: linux-iio@vger.kernel.org
---
 Documentation/ABI/testing/sysfs-bus-iio | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
index 0d3ec5fc45f2f..94b8d8461b7c7 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio
+++ b/Documentation/ABI/testing/sysfs-bus-iio
@@ -618,7 +618,9 @@ KernelVersion:	2.6.35
 Contact:	linux-iio@vger.kernel.org
 Description:
 		If a discrete set of scale values is available, they
-		are listed in this attribute.
+		are listed in this attribute. Unlike illumination,
+		multiplying intensity by intensity_scale does not
+		yield value with any standardized unit.
 
 What:		/sys/bus/iio/devices/iio:deviceX/out_voltageY_hardwaregain
 What:		/sys/bus/iio/devices/iio:deviceX/in_intensity_hardwaregain
-- 
2.42.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] doc: iio: Document intensity scale as poorly defined
  2023-12-07 13:41 [PATCH] doc: iio: Document intensity scale as poorly defined Marek Vasut
@ 2023-12-10 11:58 ` Jonathan Cameron
  2023-12-10 15:29   ` Marek Vasut
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Cameron @ 2023-12-10 11:58 UTC (permalink / raw)
  To: Marek Vasut; +Cc: linux-iio, Lars-Peter Clausen

On Thu,  7 Dec 2023 14:41:50 +0100
Marek Vasut <marex@denx.de> wrote:

> Add comment about intensity scale being poorly defined and
> having no proper units.
> 
> Signed-off-by: Marek Vasut <marex@denx.de>
Applied. Thanks for cleaning this up.

Jonathan

> ---
> Cc: Jonathan Cameron <jic23@kernel.org>
> Cc: Lars-Peter Clausen <lars@metafoo.de>
> Cc: linux-iio@vger.kernel.org
> ---
>  Documentation/ABI/testing/sysfs-bus-iio | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
> index 0d3ec5fc45f2f..94b8d8461b7c7 100644
> --- a/Documentation/ABI/testing/sysfs-bus-iio
> +++ b/Documentation/ABI/testing/sysfs-bus-iio
> @@ -618,7 +618,9 @@ KernelVersion:	2.6.35
>  Contact:	linux-iio@vger.kernel.org
>  Description:
>  		If a discrete set of scale values is available, they
> -		are listed in this attribute.
> +		are listed in this attribute. Unlike illumination,
> +		multiplying intensity by intensity_scale does not
> +		yield value with any standardized unit.
>  
>  What:		/sys/bus/iio/devices/iio:deviceX/out_voltageY_hardwaregain
>  What:		/sys/bus/iio/devices/iio:deviceX/in_intensity_hardwaregain


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] doc: iio: Document intensity scale as poorly defined
  2023-12-10 11:58 ` Jonathan Cameron
@ 2023-12-10 15:29   ` Marek Vasut
  0 siblings, 0 replies; 3+ messages in thread
From: Marek Vasut @ 2023-12-10 15:29 UTC (permalink / raw)
  To: Jonathan Cameron; +Cc: linux-iio, Lars-Peter Clausen

On 12/10/23 12:58, Jonathan Cameron wrote:
> On Thu,  7 Dec 2023 14:41:50 +0100
> Marek Vasut <marex@denx.de> wrote:
> 
>> Add comment about intensity scale being poorly defined and
>> having no proper units.
>>
>> Signed-off-by: Marek Vasut <marex@denx.de>
> Applied. Thanks for cleaning this up.

Glad I could help. Thanks for your help with it.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-12-10 15:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-07 13:41 [PATCH] doc: iio: Document intensity scale as poorly defined Marek Vasut
2023-12-10 11:58 ` Jonathan Cameron
2023-12-10 15:29   ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox