blob: da995a269adb18f6ef14e7f43a7a4355c63b18b5 [file] [log] [blame]
#
# Chrome OS Embedded Controller managed sensors library
#
config IIO_CROS_EC_SENSORS_CORE
tristate "ChromeOS EC Sensors Core"
depends on SYSFS && MFD_CROS_EC
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
help
Base module for the ChromeOS EC Sensors module.
Contains core functions used by other IIO CrosEC sensor
drivers.
Define common attributes and sysfs interrupt handler.
config IIO_CROS_EC_SENSORS
tristate "ChromeOS EC Contiguous Sensors"
depends on IIO_CROS_EC_SENSORS_CORE
help
Module to handle 3d contiguous sensors like
Accelerometers, Gyroscope and Magnetometer that are
presented by the ChromeOS EC Sensor hub.
Creates an IIO device for each functions.
config IIO_CROS_EC_ACTIVITY
tristate "ChromeOS EC Activity Sensors"
depends on IIO_CROS_EC_SENSORS_CORE
help
Module to handle activity events detections presented by the ChromeOS
EC Sensor hub.
Activities can be simple (low/no motion) or more complex (riding train).
They are being reported by physical devices or the EC itself.
Creates an IIO device to manage all activities.
config IIO_CROS_EC_SENSORS_RING
tristate "ChromeOS EC Sensors Ring"
depends on IIO_CROS_EC_SENSORS || IIO_CROS_EC_LIGHT_PROX
help
Add support for handling sensor events FIFO produced by
the sensor hub.
A single device with a buffer will collect all samples produced
by the sensors managed by the CroEC sensor hub.