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 tempereature 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:
26    maxItems: 1
27
28  reg:
29    maxItems: 1
30
31required:
32  - compatible
33  - reg
34
35additionalProperties: false
36
37examples:
38  - |
39    i2c0 {
40      #address-cells = <1>;
41      #size-cells = <0>;
42
43      humidity@40 {
44          compatible = "ti,hdc2010";
45          reg = <0x40>;
46      };
47    };
48