xref: /linux/Documentation/ABI/testing/sysfs-bus-iio-cros-ec (revision bf070bb0e6c62ba3075db0a666763ba52c677102)
1What:		/sys/bus/iio/devices/iio:deviceX/calibrate
2Date:		July 2015
3KernelVersion:	4.7
4Contact:	linux-iio@vger.kernel.org
5Description:
6		Writing '1' will perform a FOC (Fast Online Calibration). The
7                corresponding calibration offsets can be read from *_calibbias
8                entries.
9
10What:		/sys/bus/iio/devices/iio:deviceX/location
11Date:		July 2015
12KernelVersion:	4.7
13Contact:	linux-iio@vger.kernel.org
14Description:
15		This attribute returns a string with the physical location where
16                the motion sensor is placed. For example, in a laptop a motion
17                sensor can be located on the base or on the lid. Current valid
18		values are 'base' and 'lid'.
19
20What:		/sys/bus/iio/devices/iio:deviceX/id
21Date:		Septembre 2017
22KernelVersion:	4.14
23Contact:	linux-iio@vger.kernel.org
24Description:
25		This attribute is exposed by the CrOS EC legacy accelerometer
26		driver and represents the sensor ID as exposed by the EC. This
27		ID is used by the Android sensor service hardware abstraction
28		layer (sensor HAL) through the Android container on ChromeOS.
29