xref: /linux/Documentation/devicetree/bindings/iio/humidity/ti,hdc2010.yaml (revision 40ccd6aa3e2e05be93394e3cd560c718dedfcc77)
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
30  interrupts:
31    maxItems: 1
32
33required:
34  - compatible
35  - reg
36
37additionalProperties: false
38
39examples:
40  - |
41    i2c {
42        #address-cells = <1>;
43        #size-cells = <0>;
44
45        humidity@40 {
46            compatible = "ti,hdc2010";
47            reg = <0x40>;
48        };
49    };
50