summaryrefslogtreecommitdiffstats
path: root/drivers/iio/common/cros_ec_sensors/Kconfig
diff options
context:
space:
mode:
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>2016-08-01 11:54:36 +0200
committerJonathan Cameron <jic23@kernel.org>2016-10-25 18:20:23 +0100
commitc14dca07a31dac8bd91aa818df62fb3bf1d846c5 (patch)
treedd51984a0a2e8820b16e187d28fe4f6a4a7fd4e1 /drivers/iio/common/cros_ec_sensors/Kconfig
parent974e6f02e27e1b46c6c5e600e70ced25079f73eb (diff)
downloadlinux-stable-c14dca07a31dac8bd91aa818df62fb3bf1d846c5.tar.gz
linux-stable-c14dca07a31dac8bd91aa818df62fb3bf1d846c5.tar.bz2
linux-stable-c14dca07a31dac8bd91aa818df62fb3bf1d846c5.zip
iio: cros_ec_sensors: add ChromeOS EC Contiguous Sensors driver
Handle 3d contiguous sensors like Accelerometers, Gyroscope and Magnetometer that are presented by the ChromeOS EC Sensor hub. Signed-off-by: Guenter Roeck <groeck@chromium.org> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/common/cros_ec_sensors/Kconfig')
-rw-r--r--drivers/iio/common/cros_ec_sensors/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/iio/common/cros_ec_sensors/Kconfig b/drivers/iio/common/cros_ec_sensors/Kconfig
index 24743be15a5b..3349c9d2cf7a 100644
--- a/drivers/iio/common/cros_ec_sensors/Kconfig
+++ b/drivers/iio/common/cros_ec_sensors/Kconfig
@@ -12,3 +12,12 @@ config IIO_CROS_EC_SENSORS_CORE
drivers.
Define common attributes and sysfs interrupt handler.
+config IIO_CROS_EC_SENSORS
+ tristate "ChromeOS EC Contiguous Sensors"
+ select IIO_CROS_EC_SENSORS_CORE
+ select MFD_CROSS_EC
+ 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.