Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/temperature/ti,tmp007.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: IR thermopile sensor with integrated math engine
0008 
0009 maintainers:
0010   - Manivannan Sadhasivam <manivannanece23@gmail.com>
0011 
0012 description: |
0013   http://www.ti.com/lit/ds/symlink/tmp007.pdf
0014 
0015 properties:
0016   compatible:
0017     const: ti,tmp007
0018 
0019   reg:
0020     description: |
0021       The I2C address of the sensor (changeable via ADR pins)
0022       ------------------------------
0023       |ADR1 | ADR0 | Device Address|
0024       ------------------------------
0025          0      0        0x40
0026          0      1        0x41
0027          0     SDA       0x42
0028          0     SCL       0x43
0029          1      0        0x44
0030          1      1        0x45
0031          1     SDA       0x46
0032          1     SCL       0x47
0033     maxItems: 1
0034 
0035   interrupts:
0036     maxItems: 1
0037 
0038 required:
0039   - compatible
0040   - reg
0041 
0042 additionalProperties: false
0043 
0044 examples:
0045   - |
0046     i2c {
0047         #address-cells = <1>;
0048         #size-cells = <0>;
0049 
0050         temp-sensor@40 {
0051             compatible = "ti,tmp007";
0052             reg = <0x40>;
0053             interrupt-parent = <&gpio0>;
0054             interrupts = <5 0x08>;
0055         };
0056     };
0057 ...