summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/Documentation/sysfs-bus-iio-light
blob: 5d84856dc14a231cfd09705522f195d0f64b3b69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64

What:		/sys/bus/iio/devices/device[n]/range
KernelVersion:	2.6.37
Contact:	linux-iio@vger.kernel.org
Description:
		Hardware dependent ADC Full Scale Range used for some ambient
		light sensors in calculating lux.

What:		/sys/bus/iio/devices/device[n]/range_available
KernelVersion:	2.6.37
Contact:	linux-iio@vger.kernel.org
Description:
		Hardware dependent supported vales for ADC Full Scale Range.

What:		/sys/bus/iio/devices/device[n]/adc_resolution
KernelVersion:	2.6.37
Contact:	linux-iio@vger.kernel.org
Description:
		Hardware dependent ADC resolution of the ambient light sensor
		used in calculating the lux.

What:		/sys/bus/iio/devices/device[n]/adc_resolution_available
KernelVersion:	2.6.37
Contact:	linux-iio@vger.kernel.org
Description:
		Hardware dependent list of possible values supported for the
		adc_resolution of the given sensor.

What:		/sys/bus/iio/devices/device[n]/illuminance0[_input|_raw]
KernelVersion:	2.6.35
Contact:	linux-iio@vger.kernel.org
Description:
		This should return the calculated lux from the light sensor. If
		it comes back in SI units, it should also include _input else it
		should include _raw to signify it is not in SI units.

What:		/sys/.../device[n]/proximity_on_chip_ambient_infrared_supression
KernelVersion:	2.6.37
Contact:	linux-iio@vger.kernel.org
Description:
		Hardware dependent mode for an ALS device to calculate the value
		in proximity mode. When this is enabled, then the device should
		use a infrared sensor reading to remove infrared noise from the
		proximity reading. If this is not enabled, the driver can still
		do this calculation manually by reading the infrared sensor
		value and doing the negation in sw.

What:		/sys/bus/iio/devices/device[n]/proximity[_input|_raw]
KernelVersion:	2.6.37
Contact:	linux-iio@vger.kernel.org
Description:
		This property is supported by proximity sensors and should be
		used to return the value of a reading by the sensor. If this
		value is returned in SI units, it should also include _input
		but if it is not, then it should include _raw.

What:		/sys/bus/iio/devices/device[n]/intensity_infrared[_input|_raw]
KernelVersion:	2.6.37
Contact:	linux-iio@vger.kernel.org
Description:
		This property is supported by sensors that have an infrared
		sensing mode. This value should be the output from a reading
		and if expressed in SI units, should include _input. If this
		value is not in SI units, then it should include _raw.
OpenPOWER on IntegriCloud