On 02/05/14 16:54, Peter Meerwald wrote:
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@xxxxxxxxxx>
I agree that it should be in Lux. Note that I was sure this was documented somewhere so went looking. It was under drivers/staging/iio/Documentation/sysfs-bus-iio-light Description agrees with yours so this patch is fine, but we should drop the version in staging in favour of this. Note that quite a few elements in that staging file are unlikely to ever make it out of staging as they currently stand! Thanks and applied to the togreg branch of iio.git J
--- 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 9669c1f..a9757dc 100644 --- a/Documentation/ABI/testing/sysfs-bus-iio +++ b/Documentation/ABI/testing/sysfs-bus-iio @@ -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@xxxxxxxxxxxxxxx +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
-- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html