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@gmail.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@vger.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