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