Merge tag 'ntb-5.11' of git://github.com/jonmason/ntb
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / iio / humidity / dht11.yaml
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/iio/humidity/dht11.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: DHT11 humidity + temperature sensor
8
9 maintainers:
10   - Harald Geyer <harald@ccbib.org>
11
12 description: |
13    A simple and low cost module providing a non standard single GPIO based
14    interface.  It is believed the part is made by aosong but don't have
15    absolute confirmation of this, or what the aosong part number is.
16
17 properties:
18   compatible:
19     const: dht11
20
21   reg:
22     maxItems: 1
23
24   gpios:
25     maxItems: 1
26     description:
27       Single, interrupt capable, GPIO used to communicate with the device.
28
29 required:
30   - compatible
31   - gpios
32
33 additionalProperties: false
34
35 examples:
36   - |
37     humidity_sensor {
38         compatible = "dht11";
39         gpios = <&gpio0 6 0>;
40     };
41 ...