]> git.karo-electronics.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/iio/humidity/dht11.txt
Merge branch 'x86-build-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[karo-tx-linux.git] / Documentation / devicetree / bindings / iio / humidity / dht11.txt
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 }