1*aa1a8ff2SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 28cc087a1SEmmanuel Vadot%YAML 1.2 38cc087a1SEmmanuel Vadot--- 48cc087a1SEmmanuel Vadot$id: http://devicetree.org/schemas/hwmon/ti,tmp102.yaml# 58cc087a1SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 68cc087a1SEmmanuel Vadot 78cc087a1SEmmanuel Vadottitle: TMP102 temperature sensor 88cc087a1SEmmanuel Vadot 98cc087a1SEmmanuel Vadotmaintainers: 10c9ccf3a3SEmmanuel Vadot - Krzysztof Kozlowski <krzk@kernel.org> 118cc087a1SEmmanuel Vadot 128cc087a1SEmmanuel Vadotproperties: 138cc087a1SEmmanuel Vadot compatible: 148cc087a1SEmmanuel Vadot enum: 158cc087a1SEmmanuel Vadot - ti,tmp102 168cc087a1SEmmanuel Vadot 178cc087a1SEmmanuel Vadot interrupts: 188cc087a1SEmmanuel Vadot maxItems: 1 198cc087a1SEmmanuel Vadot 208cc087a1SEmmanuel Vadot reg: 218cc087a1SEmmanuel Vadot maxItems: 1 228cc087a1SEmmanuel Vadot 238cc087a1SEmmanuel Vadot "#thermal-sensor-cells": 248cc087a1SEmmanuel Vadot const: 1 258cc087a1SEmmanuel Vadot 268cc087a1SEmmanuel Vadotrequired: 278cc087a1SEmmanuel Vadot - compatible 288cc087a1SEmmanuel Vadot - reg 298cc087a1SEmmanuel Vadot 308cc087a1SEmmanuel VadotadditionalProperties: false 318cc087a1SEmmanuel Vadot 328cc087a1SEmmanuel Vadotexamples: 338cc087a1SEmmanuel Vadot - | 348cc087a1SEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 358cc087a1SEmmanuel Vadot 368cc087a1SEmmanuel Vadot i2c { 378cc087a1SEmmanuel Vadot #address-cells = <1>; 388cc087a1SEmmanuel Vadot #size-cells = <0>; 398cc087a1SEmmanuel Vadot 408cc087a1SEmmanuel Vadot sensor@48 { 418cc087a1SEmmanuel Vadot compatible = "ti,tmp102"; 428cc087a1SEmmanuel Vadot reg = <0x48>; 438cc087a1SEmmanuel Vadot interrupt-parent = <&gpio7>; 448cc087a1SEmmanuel Vadot interrupts = <16 IRQ_TYPE_LEVEL_LOW>; 458cc087a1SEmmanuel Vadot #thermal-sensor-cells = <1>; 468cc087a1SEmmanuel Vadot }; 478cc087a1SEmmanuel Vadot }; 48