summaryrefslogtreecommitdiffstats
path: root/drivers/iio/humidity/Kconfig
diff options
context:
space:
mode:
authorHarald Geyer <harald@ccbib.org>2013-12-01 16:04:00 +0100
committerJonathan Cameron <jic23@kernel.org>2013-12-03 21:22:30 +0100
commit091a121b04547fab2045951aff6219318ede0560 (patch)
treed6753de7cf21bdc8de3a62952ce79cd0adc060a1 /drivers/iio/humidity/Kconfig
parentiio: Add support for humidity sensors (diff)
downloadlinux-091a121b04547fab2045951aff6219318ede0560.tar.xz
linux-091a121b04547fab2045951aff6219318ede0560.zip
iio: Add new driver dht11
This driver handles DHT11 and DHT22 sensors. Signed-off-by: Harald Geyer <harald@ccbib.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/humidity/Kconfig')
-rw-r--r--drivers/iio/humidity/Kconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/iio/humidity/Kconfig b/drivers/iio/humidity/Kconfig
new file mode 100644
index 000000000000..463c4d9da79e
--- /dev/null
+++ b/drivers/iio/humidity/Kconfig
@@ -0,0 +1,15 @@
+#
+# humidity sensor drivers
+#
+menu "Humidity sensors"
+
+config DHT11
+ tristate "DHT11 (and compatible sensors) driver"
+ depends on GPIOLIB
+ help
+ This driver supports reading data via a single interrupt
+ generating GPIO line. Currently tested are DHT11 and DHT22.
+ Other sensors should work as well as long as they speak the
+ same protocol.
+
+endmenu