xref: /openbmc/linux/Documentation/devicetree/bindings/iio/humidity/dht11.yaml (revision 46908557a59ef8f470e4689e94a9cb06b284abb3)
14dd49a1bSJonathan Cameron# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
24dd49a1bSJonathan Cameron%YAML 1.2
34dd49a1bSJonathan Cameron---
44dd49a1bSJonathan Cameron$id: http://devicetree.org/schemas/iio/humidity/dht11.yaml#
54dd49a1bSJonathan Cameron$schema: http://devicetree.org/meta-schemas/core.yaml#
64dd49a1bSJonathan Cameron
74dd49a1bSJonathan Camerontitle: DHT11 humidity + temperature sensor
84dd49a1bSJonathan Cameron
94dd49a1bSJonathan Cameronmaintainers:
104dd49a1bSJonathan Cameron  - Harald Geyer <harald@ccbib.org>
114dd49a1bSJonathan Cameron
124dd49a1bSJonathan Camerondescription: |
134dd49a1bSJonathan Cameron   A simple and low cost module providing a non standard single GPIO based
144dd49a1bSJonathan Cameron   interface.  It is believed the part is made by aosong but don't have
154dd49a1bSJonathan Cameron   absolute confirmation of this, or what the aosong part number is.
164dd49a1bSJonathan Cameron
174dd49a1bSJonathan Cameronproperties:
184dd49a1bSJonathan Cameron  compatible:
194dd49a1bSJonathan Cameron    const: dht11
204dd49a1bSJonathan Cameron
214dd49a1bSJonathan Cameron  reg:
224dd49a1bSJonathan Cameron    maxItems: 1
234dd49a1bSJonathan Cameron
244dd49a1bSJonathan Cameron  gpios:
254dd49a1bSJonathan Cameron    maxItems: 1
264dd49a1bSJonathan Cameron    description:
274dd49a1bSJonathan Cameron      Single, interrupt capable, GPIO used to communicate with the device.
284dd49a1bSJonathan Cameron
294dd49a1bSJonathan Cameronrequired:
304dd49a1bSJonathan Cameron  - compatible
314dd49a1bSJonathan Cameron  - gpios
324dd49a1bSJonathan Cameron
334dd49a1bSJonathan CameronadditionalProperties: false
344dd49a1bSJonathan Cameron
354dd49a1bSJonathan Cameronexamples:
364dd49a1bSJonathan Cameron  - |
37*46908557SKrzysztof Kozlowski    humidity-sensor {
384dd49a1bSJonathan Cameron        compatible = "dht11";
394dd49a1bSJonathan Cameron        gpios = <&gpio0 6 0>;
404dd49a1bSJonathan Cameron    };
414dd49a1bSJonathan Cameron...
42