[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <806ebcb6b4c9b2412fea92118b0d15678729a6da.1768759292.git.marcelo.schmitt1@gmail.com>
Date: Sun, 18 Jan 2026 15:20:28 -0300
From: Marcelo Schmitt <marcelo.schmitt1@...il.com>
To: linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: jic23@...nel.org, Jonathan.Cameron@...wei.com, nuno.sa@...log.com,
andy@...nel.org, dlechner@...libre.com, marcelo.schmitt1@...il.com
Subject: [RFC PATCH v1 3/9] iio: ABI: Accurately describe
in_illuminance[Y]_input
The drivers that provide channels of type IIO_LIGHT with info masks
containing IIO_CHAN_INFO_PROCESSED provide values in lux through their
in_illuminance[Y]_input attribute. A few drivers provide both
in_illuminance[Y]_raw and in_illuminance[Y]_input and those also provide
values in lux through in_illuminance[Y]_input (as one would expect from
_input interfaces). The documentation, though, was previously describing
in_illuminance[Y]_input attributes as if they would only provide values in
lux after the application of offset and scale. Adjust the docs to provide
accurate description for IIO channel in_illuminance[Y]_input interface.
Signed-off-by: Marcelo Schmitt <marcelo.schmitt1@...il.com>
---
Documentation/ABI/testing/sysfs-bus-iio | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
index 27251b65ea0e..9fb12f7a639d 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio
+++ b/Documentation/ABI/testing/sysfs-bus-iio
@@ -1652,8 +1652,13 @@ Description:
application of scale and offset are meters.
What: /sys/.../iio:deviceX/in_illuminance_input
-What: /sys/.../iio:deviceX/in_illuminance_raw
What: /sys/.../iio:deviceX/in_illuminanceY_input
+KernelVersion: 3.4
+Contact: linux-iio@...r.kernel.org
+Description:
+ Illuminance measurement in lux.
+
+What: /sys/.../iio:deviceX/in_illuminance_raw
What: /sys/.../iio:deviceX/in_illuminanceY_raw
What: /sys/.../iio:deviceX/in_illuminanceY_mean_raw
What: /sys/.../iio:deviceX/in_illuminance_ir_raw
--
2.51.0
Powered by blists - more mailing lists