xref: /linux/Documentation/devicetree/bindings/iio/temperature/ti,tmp007.yaml (revision a4eb44a6435d6d8f9e642407a4a06f65eb90ca04)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/temperature/ti,tmp007.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: IR thermopile sensor with integrated math engine
8
9maintainers:
10  - Manivannan Sadhasivam <manivannanece23@gmail.com>
11
12description: |
13  http://www.ti.com/lit/ds/symlink/tmp007.pdf
14
15properties:
16  compatible:
17    const: ti,tmp007
18
19  reg:
20    description: |
21      The I2C address of the sensor (changeable via ADR pins)
22      ------------------------------
23      |ADR1 | ADR0 | Device Address|
24      ------------------------------
25         0      0        0x40
26         0      1        0x41
27         0     SDA       0x42
28         0     SCL       0x43
29         1      0        0x44
30         1      1        0x45
31         1     SDA       0x46
32         1     SCL       0x47
33    maxItems: 1
34
35  interrupts:
36    maxItems: 1
37
38required:
39  - compatible
40  - reg
41
42additionalProperties: false
43
44examples:
45  - |
46    i2c {
47        #address-cells = <1>;
48        #size-cells = <0>;
49
50        temp-sensor@40 {
51            compatible = "ti,tmp007";
52            reg = <0x40>;
53            interrupt-parent = <&gpio0>;
54            interrupts = <5 0x08>;
55        };
56    };
57...
58