summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/iio/temperature/ti,tmp007.yaml
blob: 3c2b7189fa2e80bd358aa9d9667a576fb3f80c0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/iio/temperature/ti,tmp007.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: IR thermopile sensor with integrated math engine

maintainers:
  - Manivannan Sadhasivam <manivannanece23@gmail.com>

description: |
  http://www.ti.com/lit/ds/symlink/tmp007.pdf

properties:
  compatible:
    const: ti,tmp007

  reg:
    description: |
      The I2C address of the sensor (changeable via ADR pins)
      ------------------------------
      |ADR1 | ADR0 | Device Address|
      ------------------------------
         0      0        0x40
         0      1        0x41
         0     SDA       0x42
         0     SCL       0x43
         1      0        0x44
         1      1        0x45
         1     SDA       0x46
         1     SCL       0x47
    maxItems: 1

  interrupts:
    maxItems: 1

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    i2c {
        #address-cells = <1>;
        #size-cells = <0>;

        temp-sensor@40 {
            compatible = "ti,tmp007";
            reg = <0x40>;
            interrupt-parent = <&gpio0>;
            interrupts = <5 0x08>;
        };
    };
...