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,tmp006.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: TI TMP006 IR thermopile sensor 8 9maintainers: 10 - Peter Meerwald <pmeerw@pmeerw.net> 11 12description: | 13 TI TMP006 - Infrared Thermopile Sensor in Chip-Scale Package. 14 https://cdn.sparkfun.com/datasheets/Sensors/Temp/tmp006.pdf 15 16properties: 17 compatible: 18 const: ti,tmp006 19 20 reg: 21 maxItems: 1 22 23 vdd-supply: 24 description: provide VDD power to the sensor. 25 26 interrupts: 27 maxItems: 1 28 29required: 30 - compatible 31 - reg 32 33additionalProperties: false 34 35examples: 36 - | 37 #include <dt-bindings/interrupt-controller/irq.h> 38 i2c { 39 #address-cells = <1>; 40 #size-cells = <0>; 41 temperature-sensor@40 { 42 compatible = "ti,tmp006"; 43 reg = <0x40>; 44 vdd-supply = <&ldo4_reg>; 45 interrupt-parent = <&gpio1>; 46 interrupts = <4 IRQ_TYPE_EDGE_FALLING>; 47 }; 48 }; 49