iio: Add ABI documentation for illuminance raw and scale values in light
authorDarshana Padmadas <darshanapadmadas@gmail.com>
Mon, 16 Mar 2015 11:48:20 +0000 (17:18 +0530)
committerJonathan Cameron <jic23@kernel.org>
Sat, 28 Mar 2015 10:55:36 +0000 (10:55 +0000)
This patchset adds ABI documentation for the following attributes:

in_illuminance_scale, used atleast once in al3320a staging/iio/light/
in_illuminance_calibscale, used atleast once in cm32181
in_illuminance_input, used in cm3232 at least once
in_illuminance_raw used atleast once in al3320a
in_illuminance_clear_raw and in_illuminance_ir_raw exposed by
gp2ap020a00f with modifiers IIO_MOD_LIGHT_CLEAR and
IIO_MOD_LIGHT_IR respectively.

Signed-off-by: Darshana Padmadas <darshanapadmadas@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/ABI/testing/sysfs-bus-iio

index 6be17c2c5c65f6e5fd0b1714304cf0c24ca79e32..7438e4efdf4c8864f936ef3ff91c60412ae60cf9 100644 (file)
@@ -297,6 +297,7 @@ What:               /sys/bus/iio/devices/iio:deviceX/in_pressureY_scale
 What:          /sys/bus/iio/devices/iio:deviceX/in_pressure_scale
 What:          /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_scale
 What:          /sys/bus/iio/devices/iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_scale
+What:          /sys/bus/iio/devices/iio:deviceX/in_illuminance_scale
 KernelVersion: 2.6.35
 Contact:       linux-iio@vger.kernel.org
 Description:
@@ -337,6 +338,7 @@ what                /sys/bus/iio/devices/iio:deviceX/in_illuminance0_calibscale
 what           /sys/bus/iio/devices/iio:deviceX/in_proximity0_calibscale
 What:          /sys/bus/iio/devices/iio:deviceX/in_pressureY_calibscale
 What:          /sys/bus/iio/devices/iio:deviceX/in_pressure_calibscale
+What:          /sys/bus/iio/devices/iio:deviceX/in_illuminance_calibscale
 KernelVersion: 2.6.35
 Contact:       linux-iio@vger.kernel.org
 Description:
@@ -1167,9 +1169,13 @@ Description:
                values should behave in the same way as a distance, i.e. lower
                values indicate something is closer to the sensor.
 
+What:          /sys/.../iio:deviceX/in_illuminance_input
+What:          /sys/.../iio:deviceX/in_illuminance_raw
 What:          /sys/.../iio:deviceX/in_illuminanceY_input
 What:          /sys/.../iio:deviceX/in_illuminanceY_raw
 What:          /sys/.../iio:deviceX/in_illuminanceY_mean_raw
+What:          /sys/.../iio:deviceX/in_illuminance_ir_raw
+What:          /sys/.../iio:deviceX/in_illuminance_clear_raw
 KernelVersion: 3.4
 Contact:       linux-iio@vger.kernel.org
 Description: