summaryrefslogtreecommitdiffstats
path: root/drivers/iio/humidity/Kconfig
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>2016-10-13 22:06:04 +0200
committerJonathan Cameron <jic23@kernel.org>2016-10-23 20:34:09 +0200
commite4a70e3e7d846a8db8e20c18a4d8a6cf35bcf29c (patch)
treea49e2351f07ec49d96592ef4643f68ff8093d59c /drivers/iio/humidity/Kconfig
parentiio: light: ltr501: claim direct mode during raw writes (diff)
downloadlinux-e4a70e3e7d846a8db8e20c18a4d8a6cf35bcf29c.tar.xz
linux-e4a70e3e7d846a8db8e20c18a4d8a6cf35bcf29c.zip
iio: humidity: add support to hts221 rh/temp combo device
Add support to STM HTS221 humidity + temperature sensor http://www.st.com/resource/en/datasheet/hts221.pdf - continuous mode support - i2c support - spi support - trigger mode support Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@st.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/humidity/Kconfig')
-rw-r--r--drivers/iio/humidity/Kconfig22
1 files changed, 22 insertions, 0 deletions
diff --git a/drivers/iio/humidity/Kconfig b/drivers/iio/humidity/Kconfig
index b17e2e2bd4f5..6fd11d0813ad 100644
--- a/drivers/iio/humidity/Kconfig
+++ b/drivers/iio/humidity/Kconfig
@@ -34,6 +34,28 @@ config HDC100X
To compile this driver as a module, choose M here: the module
will be called hdc100x.
+config HTS221
+ tristate "STMicroelectronics HTS221 sensor Driver"
+ depends on (I2C || SPI)
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
+ select HTS221_I2C if (I2C)
+ select HTS221_SPI if (SPI_MASTER)
+ help
+ Say yes here to build support for STMicroelectronics HTS221
+ temperature-humidity sensor
+
+ To compile this driver as a module, choose M here: the module
+ will be called hts221.
+
+config HTS221_I2C
+ tristate
+ depends on HTS221
+
+config HTS221_SPI
+ tristate
+ depends on HTS221
+
config HTU21
tristate "Measurement Specialties HTU21 humidity & temperature sensor"
depends on I2C