1 What: /sys/bus/iio/devices/device[n]/in_illuminance0[_input|_raw]
5 This should return the calculated lux from the light sensor. If
6 it comes back in SI units, it should also include _input else it
7 should include _raw to signify it is not in SI units.
9 What: /sys/.../device[n]/proximity_on_chip_ambient_infrared_suppression
13 Hardware dependent mode for an ALS device to calculate the value
14 in proximity mode. When this is enabled, then the device should
15 use a infrared sensor reading to remove infrared noise from the
16 proximity reading. If this is not enabled, the driver can still
17 do this calculation manually by reading the infrared sensor
18 value and doing the negation in sw.
20 What: /sys/bus/iio/devices/device[n]/in_proximity[_input|_raw]
24 This property is supported by proximity sensors and should be
25 used to return the value of a reading by the sensor. If this
26 value is returned in SI units, it should also include _input
27 but if it is not, then it should include _raw.
29 What: /sys/bus/iio/devices/device[n]/intensity_infrared[_input|_raw]
33 This property is supported by sensors that have an infrared
34 sensing mode. This value should be the output from a reading
35 and if expressed in SI units, should include _input. If this
36 value is not in SI units, then it should include _raw.
38 What: /sys/bus/iio/devices/device[n]/in_illuminance0_target
42 This property gets/sets the last known external
43 lux measurement used in/for calibration.
45 What: /sys/bus/iio/devices/device[n]/in_illuminance0_integration_time
49 This property gets/sets the sensors ADC analog integration time.
51 What: /sys/bus/iio/devices/device[n]/in_illuminance0_lux_table
55 This property gets/sets the table of coefficients
56 used in calculating illuminance in lux.
58 What: /sys/bus/iio/devices/device[n]/in_intensity_clear[_input|_raw]
59 What: /sys/bus/iio/devices/device[n]/in_intensity_red[_input|_raw]
60 What: /sys/bus/iio/devices/device[n]/in_intensity_green[_input|_raw]
61 What: /sys/bus/iio/devices/device[n]/in_intensity_blue[_input|_raw]
65 This property is supported by sensors that have a RGBC
66 sensing mode. This value should be the output from a reading
67 and if expressed in SI units, should include _input. If this
68 value is not in SI units (irradiance, uW/mm^2), then it should
71 What: /sys/bus/iio/devices/device[n]/in_cct0[_input|_raw]
75 This should return the correlated color temperature from the
76 light sensor. If it comes back in SI units, it should also
77 include _input else it should include _raw to signify it is not