Eugene Zaikonnikov | abfa391 | 2020-08-07 16:38:53 +0200 | [diff] [blame] | 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 | |
| 7 | title: HDC2010/HDC2080 humidity and temperature iio sensors |
| 8 | |
| 9 | maintainers: |
| 10 | - Eugene Zaikonnikov <ez@norophonic.com> |
| 11 | |
| 12 | description: | |
| 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 | |
| 19 | properties: |
| 20 | compatible: |
| 21 | enum: |
| 22 | - ti,hdc2010 |
| 23 | - ti,hdc2080 |
| 24 | |
| 25 | vdd-supply: |
| 26 | maxItems: 1 |
| 27 | |
| 28 | reg: |
| 29 | maxItems: 1 |
| 30 | |
| 31 | required: |
| 32 | - compatible |
| 33 | - reg |
| 34 | |
| 35 | examples: |
| 36 | - | |
| 37 | i2c0 { |
| 38 | #address-cells = <1>; |
| 39 | #size-cells = <0>; |
| 40 | |
| 41 | humidity@40 { |
| 42 | compatible = "ti,hdc2010"; |
| 43 | reg = <0x40>; |
| 44 | }; |
| 45 | }; |