Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/humidity/ti,hdc2010.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: HDC2010/HDC2080 humidity and temperature iio sensors
0008 
0009 maintainers:
0010   - Eugene Zaikonnikov <ez@norophonic.com>
0011 
0012 description: |
0013   Relative humidity and tempereature sensors on I2C bus
0014 
0015   Datasheets are available at:
0016     http://www.ti.com/product/HDC2010/datasheet
0017     http://www.ti.com/product/HDC2080/datasheet
0018 
0019 properties:
0020   compatible:
0021     enum:
0022       - ti,hdc2010
0023       - ti,hdc2080
0024 
0025   vdd-supply: true
0026 
0027   reg:
0028     maxItems: 1
0029 
0030 required:
0031   - compatible
0032   - reg
0033 
0034 additionalProperties: false
0035 
0036 examples:
0037   - |
0038     i2c0 {
0039       #address-cells = <1>;
0040       #size-cells = <0>;
0041 
0042       humidity@40 {
0043           compatible = "ti,hdc2010";
0044           reg = <0x40>;
0045       };
0046     };