summaryrefslogtreecommitdiff
path: root/drivers/iio/chemical/Kconfig
diff options
context:
space:
mode:
authorNarcisa Ana Maria Vasile <narcisaanamaria12@gmail.com>2017-08-17 14:34:29 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-08-18 10:08:02 +0300
commit283d26917ad63580b6671935b2979c78b27302c3 (patch)
tree3e0c5606067638f0ed5f4dc15cbbfa2a8db936ce /drivers/iio/chemical/Kconfig
parentdc2696ba46600629738b310b9d79a0c4b982e15e (diff)
downloadlinux-283d26917ad63580b6671935b2979c78b27302c3.tar.xz
iio: chemical: ccs811: Add triggered buffer support
A software trigger such as hrtimer can be used to capture the data that will be stored in the buffer. Cc: Daniel Baluta <daniel.baluta@gmail.com> Cc: Alison Schofield <amsfield22@gmail.com> Signed-off-by: Narcisa Ana Maria Vasile <narcisaanamaria12@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/chemical/Kconfig')
-rw-r--r--drivers/iio/chemical/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iio/chemical/Kconfig b/drivers/iio/chemical/Kconfig
index 4d799b5cceac..5cb5be7612b4 100644
--- a/drivers/iio/chemical/Kconfig
+++ b/drivers/iio/chemical/Kconfig
@@ -24,6 +24,8 @@ config ATLAS_PH_SENSOR
config CCS811
tristate "AMS CCS811 VOC sensor"
depends on I2C
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
help
Say Y here to build I2C interface support for the AMS
CCS811 VOC (Volatile Organic Compounds) sensor