summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/iio/temperature/ti,tmp006.yaml
blob: 590f50ba3a3150baa781b71f874f55c8cd225d36 (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
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/iio/temperature/ti,tmp006.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: TI TMP006 IR thermopile sensor

maintainers:
  - Peter Meerwald <pmeerw@pmeerw.net>

description: |
  TI TMP006 - Infrared Thermopile Sensor in Chip-Scale Package.
  https://cdn.sparkfun.com/datasheets/Sensors/Temp/tmp006.pdf

properties:
  compatible:
    const: ti,tmp006

  reg:
    maxItems: 1

  vdd-supply:
    description: provide VDD power to the sensor.

  interrupts:
    maxItems: 1

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    #include <dt-bindings/interrupt-controller/irq.h>
    i2c {
        #address-cells = <1>;
        #size-cells = <0>;
        temperature-sensor@40 {
            compatible = "ti,tmp006";
            reg = <0x40>;
            vdd-supply = <&ldo4_reg>;
            interrupt-parent = <&gpio1>;
            interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
        };
    };