| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
# |
| 3 |
# Chrome OS Embedded Controller managed sensors library |
| 4 |
# |
| 5 |
config IIO_CROS_EC_SENSORS_CORE |
| 6 |
tristate "ChromeOS EC Sensors Core" |
| 7 |
depends on SYSFS && CROS_EC_SENSORHUB |
| 8 |
select IIO_BUFFER |
| 9 |
select IIO_TRIGGERED_BUFFER |
| 10 |
help |
| 11 |
Base module for the ChromeOS EC Sensors module. |
| 12 |
Contains core functions used by other IIO CrosEC sensor |
| 13 |
drivers. |
| 14 |
Define common attributes and sysfs interrupt handler. |
| 15 |
|
| 16 |
config IIO_CROS_EC_SENSORS |
| 17 |
tristate "ChromeOS EC Contiguous Sensors" |
| 18 |
depends on IIO_CROS_EC_SENSORS_CORE |
| 19 |
help |
| 20 |
Module to handle 3d contiguous sensors like |
| 21 |
Accelerometers, Gyroscope and Magnetometer that are |
| 22 |
presented by the ChromeOS EC Sensor hub. |
| 23 |
Creates an IIO device for each functions. |
| 24 |
|
| 25 |
config IIO_CROS_EC_SENSORS_LID_ANGLE |
| 26 |
tristate "ChromeOS EC Sensor for lid angle" |
| 27 |
depends on IIO_CROS_EC_SENSORS_CORE |
| 28 |
help |
| 29 |
Module to report the angle between lid and base for some |
| 30 |
convertible devices. |
| 31 |
This module is loaded when the EC can calculate the angle between the base |
| 32 |
and the lid. |
| 33 |
|
| 34 |
config IIO_CROS_EC_ACTIVITY |
| 35 |
tristate "ChromeOS EC Activity Sensors" |
| 36 |
depends on IIO_CROS_EC_SENSORS_CORE |
| 37 |
help |
| 38 |
Module to handle activity events presented by the ChromeOS EC sensor hub. |
| 39 |
Activities can be a proximity detector (on body/off body detection) |
| 40 |
or a significant motion detector. |
| 41 |
Creates an IIO device to manage all activities. |