GNU Linux-libre 4.14.332-gnu1
[releases.git] / drivers / iio / common / cros_ec_sensors / Kconfig
1 #
2 # Chrome OS Embedded Controller managed sensors library
3 #
4 config IIO_CROS_EC_SENSORS_CORE
5         tristate "ChromeOS EC Sensors Core"
6         depends on SYSFS && MFD_CROS_EC
7         select IIO_BUFFER
8         select IIO_TRIGGERED_BUFFER
9         help
10           Base module for the ChromeOS EC Sensors module.
11           Contains core functions used by other IIO CrosEC sensor
12           drivers.
13           Define common attributes and sysfs interrupt handler.
14
15 config IIO_CROS_EC_SENSORS
16         tristate "ChromeOS EC Contiguous Sensors"
17         depends on IIO_CROS_EC_SENSORS_CORE
18         help
19           Module to handle 3d contiguous sensors like
20           Accelerometers, Gyroscope and Magnetometer that are
21           presented by the ChromeOS EC Sensor hub.
22           Creates an IIO device for each functions.