summaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/sysfs-bus-iio-cros-ec
blob: 3de1dfc9838932caafed5cab0015cfd1b28d33da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
What:		/sys/bus/iio/devices/iio:deviceX/calibrate
Date:		July 2015
KernelVersion:	4.7
Contact:	linux-iio@vger.kernel.org
Description:
		Writing '1' either perform a FOC (Fast Online Calibration) or
		enter calibration mode.
		Writing '0` exits calibration mode. It is a NOP for FOC enabled
		sensors.
		The corresponding calibration offsets can be read from `*_calibbias`
		entries.

What:		/sys/bus/iio/devices/iio:deviceX/id
Date:		September 2017
KernelVersion:	4.14
Contact:	linux-iio@vger.kernel.org
Description:
		This attribute is exposed by the CrOS EC sensors driver and
		represents the sensor ID as exposed by the EC. This ID is used
		by the Android sensor service hardware abstraction layer (sensor
		HAL) through the Android container on ChromeOS.