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