forked from Minki/linux
974e6f02e2
Add the core functions to be able to support the sensors attached behind the ChromeOS Embedded Controller and used by other IIO cros-ec sensor drivers. The cros_ec_sensor_core driver matches with current driver in ChromeOS 4.4 tree, so it includes all the fixes at the moment. The support for this driver was made by Gwendal Grignou. The original patch and all the fixes has been squashed and rebased on top of mainline. Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Signed-off-by: Guenter Roeck <groeck@chromium.org> [eballetbo: split, squash and rebase on top of mainline the patches found in ChromeOS tree] Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
19 lines
692 B
Plaintext
19 lines
692 B
Plaintext
What: /sys/bus/iio/devices/iio:deviceX/calibrate
|
|
Date: July 2015
|
|
KernelVersion: 4.7
|
|
Contact: linux-iio@vger.kernel.org
|
|
Description:
|
|
Writing '1' will perform a FOC (Fast Online Calibration). The
|
|
corresponding calibration offsets can be read from *_calibbias
|
|
entries.
|
|
|
|
What: /sys/bus/iio/devices/iio:deviceX/location
|
|
Date: July 2015
|
|
KernelVersion: 4.7
|
|
Contact: linux-iio@vger.kernel.org
|
|
Description:
|
|
This attribute returns a string with the physical location where
|
|
the motion sensor is placed. For example, in a laptop a motion
|
|
sensor can be located on the base or on the lid. Current valid
|
|
values are 'base' and 'lid'.
|