summaryrefslogtreecommitdiff
path: root/drivers/iio/humidity/Kconfig
diff options
context:
space:
mode:
authorAlison Schofield <amsfield22@gmail.com>2016-09-02 20:23:17 +0300
committerJonathan Cameron <jic23@kernel.org>2016-10-23 21:34:25 +0300
commit16bf793f86b21959fd683ec28b8d196a0520de2f (patch)
treef8ce5098961786aad6ac9ae8beaa0f9d61761f3f /drivers/iio/humidity/Kconfig
parent88e39a88b7ff4ec0deaf596bb653a6ca2c0c1f30 (diff)
downloadlinux-16bf793f86b21959fd683ec28b8d196a0520de2f.tar.xz
iio: humidity: hdc100x: add triggered buffer support for HDC100X
Triggered buffer support uses the HDC100X's dual acquisition mode to read both humidity and temperature in one shot. This patch depends on 447136effbf4 ("iio: humidity: hdc100x: fix sensor data reads of temp and humidity") Signed-off-by: Alison Schofield <amsfield22@gmail.com> Cc: Daniel Baluta <daniel.baluta@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/humidity/Kconfig')
-rw-r--r--drivers/iio/humidity/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iio/humidity/Kconfig b/drivers/iio/humidity/Kconfig
index 6fd11d0813ad..912477d54be2 100644
--- a/drivers/iio/humidity/Kconfig
+++ b/drivers/iio/humidity/Kconfig
@@ -27,6 +27,8 @@ config DHT11
config HDC100X
tristate "TI HDC100x relative humidity and temperature sensor"
depends on I2C
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
help
Say yes here to build support for the Texas Instruments
HDC1000 and HDC1008 relative humidity and temperature sensors.