1What: /sys/bus/iio/devices/device[n]/in_illuminance0[_input|_raw] 2KernelVersion: 2.6.35 3Contact: linux-iio@vger.kernel.org 4Description: 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. 8 9What: /sys/.../device[n]/proximity_on_chip_ambient_infrared_suppression 10KernelVersion: 2.6.37 11Contact: linux-iio@vger.kernel.org 12Description: 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. 19 20What: /sys/bus/iio/devices/device[n]/in_proximity[_input|_raw] 21KernelVersion: 2.6.37 22Contact: linux-iio@vger.kernel.org 23Description: 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. 28 29What: /sys/bus/iio/devices/device[n]/intensity_infrared[_input|_raw] 30KernelVersion: 2.6.37 31Contact: linux-iio@vger.kernel.org 32Description: 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. 37 38What: /sys/bus/iio/devices/device[n]/in_illuminance0_target 39KernelVersion: 2.6.37 40Contact: linux-iio@vger.kernel.org 41Description: 42 This property gets/sets the last known external 43 lux measurement used in/for calibration. 44 45What: /sys/bus/iio/devices/device[n]/in_illuminance0_integration_time 46KernelVersion: 2.6.37 47Contact: linux-iio@vger.kernel.org 48Description: 49 This property gets/sets the sensors ADC analog integration time. 50 51What: /sys/bus/iio/devices/device[n]/in_illuminance0_lux_table 52KernelVersion: 2.6.37 53Contact: linux-iio@vger.kernel.org 54Description: 55 This property gets/sets the table of coefficients 56 used in calculating illuminance in lux. 57 58What: /sys/bus/iio/devices/device[n]/in_intensity_clear[_input|_raw] 59What: /sys/bus/iio/devices/device[n]/in_intensity_red[_input|_raw] 60What: /sys/bus/iio/devices/device[n]/in_intensity_green[_input|_raw] 61What: /sys/bus/iio/devices/device[n]/in_intensity_blue[_input|_raw] 62KernelVersion: 3.6.0 63Contact: linux-iio@vger.kernel.org 64Description: 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 69 include _raw. 70 71What: /sys/bus/iio/devices/device[n]/in_cct0[_input|_raw] 72KernelVersion: 3.6.0 73Contact: linux-iio@vger.kernel.org 74Description: 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 78 in SI units. 79 80