Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / iio / temperature / ti,tmp007.yaml
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
7 title: IR thermopile sensor with integrated math engine
8
9 maintainers:
10   - Manivannan Sadhasivam <manivannanece23@gmail.com>
11
12 description: |
13   http://www.ti.com/lit/ds/symlink/tmp007.pdf
14
15 properties:
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
38 required:
39   - compatible
40   - reg
41
42 additionalProperties: false
43
44 examples:
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 ...