Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / drivers / staging / iio / Documentation / sysfs-bus-iio-light
1
2 What:           /sys/bus/iio/devices/device[n]/range
3 KernelVersion:  2.6.37
4 Contact:        linux-iio@vger.kernel.org
5 Description:
6                 Hardware dependent ADC Full Scale Range used for some ambient
7                 light sensors in calculating lux.
8
9 What:           /sys/bus/iio/devices/device[n]/range_available
10 KernelVersion:  2.6.37
11 Contact:        linux-iio@vger.kernel.org
12 Description:
13                 Hardware dependent supported vales for ADC Full Scale Range.
14
15 What:           /sys/bus/iio/devices/device[n]/adc_resolution
16 KernelVersion:  2.6.37
17 Contact:        linux-iio@vger.kernel.org
18 Description:
19                 Hardware dependent ADC resolution of the ambient light sensor
20                 used in calculating the lux.
21
22 What:           /sys/bus/iio/devices/device[n]/adc_resolution_available
23 KernelVersion:  2.6.37
24 Contact:        linux-iio@vger.kernel.org
25 Description:
26                 Hardware dependent list of possible values supported for the
27                 adc_resolution of the given sensor.
28
29 What:           /sys/bus/iio/devices/device[n]/in_illuminance0[_input|_raw]
30 KernelVersion:  2.6.35
31 Contact:        linux-iio@vger.kernel.org
32 Description:
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
37 What:           /sys/.../device[n]/proximity_on_chip_ambient_infrared_suppression
38 KernelVersion:  2.6.37
39 Contact:        linux-iio@vger.kernel.org
40 Description:
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
48 What:           /sys/bus/iio/devices/device[n]/in_proximity[_input|_raw]
49 KernelVersion:  2.6.37
50 Contact:        linux-iio@vger.kernel.org
51 Description:
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
57 What:           /sys/bus/iio/devices/device[n]/intensity_infrared[_input|_raw]
58 KernelVersion:  2.6.37
59 Contact:        linux-iio@vger.kernel.org
60 Description:
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
66 What:           /sys/bus/iio/devices/device[n]/in_illuminance0_target
67 KernelVersion:  2.6.37
68 Contact:        linux-iio@vger.kernel.org
69 Description:
70                 This property gets/sets the last known external
71                 lux measurement used in/for calibration.
72
73 What:           /sys/bus/iio/devices/device[n]/in_illuminance0_integration_time
74 KernelVersion:  2.6.37
75 Contact:        linux-iio@vger.kernel.org
76 Description:
77                 This property gets/sets the sensors ADC analog integration time.
78
79 What:           /sys/bus/iio/devices/device[n]/in_illuminance0_lux_table
80 KernelVersion:  2.6.37
81 Contact:        linux-iio@vger.kernel.org
82 Description:
83                 This property gets/sets the table of coefficients
84                 used in calculating illuminance in lux.
85
86 What:           /sys/bus/iio/devices/device[n]/in_intensity_clear[_input|_raw]
87 What:           /sys/bus/iio/devices/device[n]/in_intensity_red[_input|_raw]
88 What:           /sys/bus/iio/devices/device[n]/in_intensity_green[_input|_raw]
89 What:           /sys/bus/iio/devices/device[n]/in_intensity_blue[_input|_raw]
90 KernelVersion:  3.6.0
91 Contact:        linux-iio@vger.kernel.org
92 Description:
93                 This property is supported by sensors that have a RGBC
94                 sensing mode. This value should be the output from a reading
95                 and if expressed in SI units, should include _input. If this
96                 value is not in SI units (irradiance, uW/mm^2), then it should
97                 include _raw.
98
99 What:           /sys/bus/iio/devices/device[n]/in_cct0[_input|_raw]
100 KernelVersion:  3.6.0
101 Contact:        linux-iio@vger.kernel.org
102 Description:
103                 This should return the correlated color temperature from the
104                 light sensor. If it comes back in SI units, it should also
105                 include _input else it should include _raw to signify it is not
106                 in SI units.
107