1 2What: /sys/bus/iio/devices/device[n]/range 3KernelVersion: 2.6.37 4Contact: linux-iio@vger.kernel.org 5Description: 6 Hardware dependent ADC Full Scale Range used for some ambient 7 light sensors in calculating lux. 8 9What: /sys/bus/iio/devices/device[n]/range_available 10KernelVersion: 2.6.37 11Contact: linux-iio@vger.kernel.org 12Description: 13 Hardware dependent supported vales for ADC Full Scale Range. 14 15What: /sys/bus/iio/devices/device[n]/adc_resolution 16KernelVersion: 2.6.37 17Contact: linux-iio@vger.kernel.org 18Description: 19 Hardware dependent ADC resolution of the ambient light sensor 20 used in calculating the lux. 21 22What: /sys/bus/iio/devices/device[n]/adc_resolution_available 23KernelVersion: 2.6.37 24Contact: linux-iio@vger.kernel.org 25Description: 26 Hardware dependent list of possible values supported for the 27 adc_resolution of the given sensor. 28 29What: /sys/bus/iio/devices/device[n]/illuminance0[_input|_raw] 30KernelVersion: 2.6.35 31Contact: linux-iio@vger.kernel.org 32Description: 33 This should return the calculated lux from the light sensor. If 34 it comes back in SI units, it should also include _input else it 35 should include _raw to signify it is not in SI units. 36 37What: /sys/.../device[n]/proximity_on_chip_ambient_infrared_supression 38KernelVersion: 2.6.37 39Contact: linux-iio@vger.kernel.org 40Description: 41 Hardware dependent mode for an ALS device to calculate the value 42 in proximity mode. When this is enabled, then the device should 43 use a infrared sensor reading to remove infrared noise from the 44 proximity reading. If this is not enabled, the driver can still 45 do this calculation manually by reading the infrared sensor 46 value and doing the negation in sw. 47 48What: /sys/bus/iio/devices/device[n]/proximity[_input|_raw] 49KernelVersion: 2.6.37 50Contact: linux-iio@vger.kernel.org 51Description: 52 This property is supported by proximity sensors and should be 53 used to return the value of a reading by the sensor. If this 54 value is returned in SI units, it should also include _input 55 but if it is not, then it should include _raw. 56 57What: /sys/bus/iio/devices/device[n]/intensity_infrared[_input|_raw] 58KernelVersion: 2.6.37 59Contact: linux-iio@vger.kernel.org 60Description: 61 This property is supported by sensors that have an infrared 62 sensing mode. This value should be the output from a reading 63 and if expressed in SI units, should include _input. If this 64 value is not in SI units, then it should include _raw. 65