xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/humidity/dht11.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* DHT11 humidity/temperature sensor (and compatibles like DHT22)
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun  - compatible: Should be "dht11"
5*4882a593Smuzhiyun  - gpios: Should specify the GPIO connected to the sensor's data
6*4882a593Smuzhiyun    line, see "gpios property" in
7*4882a593Smuzhiyun    Documentation/devicetree/bindings/gpio/gpio.txt.
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunExample:
10*4882a593Smuzhiyun
11*4882a593Smuzhiyunhumidity_sensor {
12*4882a593Smuzhiyun	compatible = "dht11";
13*4882a593Smuzhiyun	gpios = <&gpio0 6 0>;
14*4882a593Smuzhiyun}
15