1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/humidity/ti,hdc2010.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: HDC2010/HDC2080 humidity and temperature iio sensors
8
9maintainers:
10  - Eugene Zaikonnikov <ez@norophonic.com>
11
12description: |
13  Relative humidity and temperature sensors on I2C bus
14
15  Datasheets are available at:
16    http://www.ti.com/product/HDC2010/datasheet
17    http://www.ti.com/product/HDC2080/datasheet
18
19properties:
20  compatible:
21    enum:
22      - ti,hdc2010
23      - ti,hdc2080
24
25  vdd-supply: true
26
27  reg:
28    maxItems: 1
29
30required:
31  - compatible
32  - reg
33
34additionalProperties: false
35
36examples:
37  - |
38    i2c {
39        #address-cells = <1>;
40        #size-cells = <0>;
41
42        humidity@40 {
43            compatible = "ti,hdc2010";
44            reg = <0x40>;
45        };
46    };
47