iio: Add ABI documentation for illuminance
authorPeter Meerwald <pmeerw@pmeerw.net>
Wed, 5 Feb 2014 16:54:00 +0000 (16:54 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sat, 3 May 2014 10:45:26 +0000 (11:45 +0100)
has been in use for a long time, but never documented;
state that this measurement should be in lux (drivers may feel
different about this)

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/ABI/testing/sysfs-bus-iio

index 9669c1ff849193410d676475934534ad7861fc7f..a9757dcf2e813a50720dfc1a4f5094be596f9eaa 100644 (file)
@@ -895,6 +895,15 @@ Description:
                on-chip EEPROM. After power-up or chip reset the device will
                automatically load the saved configuration.
 
+What:          /sys/.../iio:deviceX/in_illuminanceY_input
+What:          /sys/.../iio:deviceX/in_illuminanceY_raw
+What:          /sys/.../iio:deviceX/in_illuminanceY_mean_raw
+KernelVersion: 3.4
+Contact:       linux-iio@vger.kernel.org
+Description:
+               Illuminance measurement, units after application of scale
+               and offset are lux.
+
 What:          /sys/.../iio:deviceX/in_intensityY_raw
 What:          /sys/.../iio:deviceX/in_intensityY_ir_raw
 What:          /sys/.../iio:deviceX/in_intensityY_both_raw