diff options
author | Harald Geyer <harald@ccbib.org> | 2013-12-01 10:04:00 -0500 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-12-03 15:22:30 -0500 |
commit | 091a121b04547fab2045951aff6219318ede0560 (patch) | |
tree | d6753de7cf21bdc8de3a62952ce79cd0adc060a1 /Documentation/devicetree/bindings/iio | |
parent | ac216aa290c48a5e9d7b9f2473abb977a175683a (diff) |
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 'Documentation/devicetree/bindings/iio')
-rw-r--r-- | Documentation/devicetree/bindings/iio/humidity/dht11.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/humidity/dht11.txt b/Documentation/devicetree/bindings/iio/humidity/dht11.txt new file mode 100644 index 000000000000..ecc24c199fd6 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/humidity/dht11.txt | |||
@@ -0,0 +1,14 @@ | |||
1 | * DHT11 humidity/temperature sensor (and compatibles like DHT22) | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: Should be "dht11" | ||
5 | - gpios: Should specify the GPIO connected to the sensor's data | ||
6 | line, see "gpios property" in | ||
7 | Documentation/devicetree/bindings/gpio/gpio.txt. | ||
8 | |||
9 | Example: | ||
10 | |||
11 | humidity_sensor { | ||
12 | compatible = "dht11"; | ||
13 | gpios = <&gpio0 6 0>; | ||
14 | } | ||