1aa1a8ff2SEmmanuel 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,tmp108.yaml# 58cc087a1SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 68cc087a1SEmmanuel Vadot 78cc087a1SEmmanuel Vadottitle: TMP108 temperature sensor 88cc087a1SEmmanuel Vadot 98cc087a1SEmmanuel Vadotmaintainers: 10c9ccf3a3SEmmanuel Vadot - Krzysztof Kozlowski <krzk@kernel.org> 118cc087a1SEmmanuel Vadot 12*0e8011faSEmmanuel Vadotdescription: | 13*0e8011faSEmmanuel Vadot The TMP108 is a digital-output temperature sensor with a 14*0e8011faSEmmanuel Vadot dynamically-programmable limit window, and under- and overtemperature 15*0e8011faSEmmanuel Vadot alert functions. 16*0e8011faSEmmanuel Vadot 17*0e8011faSEmmanuel Vadot Datasheets: 18*0e8011faSEmmanuel Vadot https://www.ti.com/product/TMP108 19*0e8011faSEmmanuel Vadot 208cc087a1SEmmanuel Vadotproperties: 218cc087a1SEmmanuel Vadot compatible: 228cc087a1SEmmanuel Vadot enum: 238cc087a1SEmmanuel Vadot - ti,tmp108 248cc087a1SEmmanuel Vadot 258cc087a1SEmmanuel Vadot interrupts: 268cc087a1SEmmanuel Vadot items: 278cc087a1SEmmanuel Vadot - description: alert interrupt 288cc087a1SEmmanuel Vadot 298cc087a1SEmmanuel Vadot reg: 308cc087a1SEmmanuel Vadot maxItems: 1 318cc087a1SEmmanuel Vadot 328cc087a1SEmmanuel Vadot "#thermal-sensor-cells": 338cc087a1SEmmanuel Vadot const: 0 348cc087a1SEmmanuel Vadot 35*0e8011faSEmmanuel Vadot vcc-supply: 36*0e8011faSEmmanuel Vadot description: phandle to the regulator that provides the V+ supply 37*0e8011faSEmmanuel Vadot 388cc087a1SEmmanuel Vadotrequired: 398cc087a1SEmmanuel Vadot - compatible 408cc087a1SEmmanuel Vadot - reg 418cc087a1SEmmanuel Vadot 428cc087a1SEmmanuel VadotadditionalProperties: false 438cc087a1SEmmanuel Vadot 448cc087a1SEmmanuel Vadotexamples: 458cc087a1SEmmanuel Vadot - | 468cc087a1SEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 478cc087a1SEmmanuel Vadot 488cc087a1SEmmanuel Vadot i2c { 498cc087a1SEmmanuel Vadot #address-cells = <1>; 508cc087a1SEmmanuel Vadot #size-cells = <0>; 518cc087a1SEmmanuel Vadot 528cc087a1SEmmanuel Vadot sensor@48 { 538cc087a1SEmmanuel Vadot compatible = "ti,tmp108"; 548cc087a1SEmmanuel Vadot reg = <0x48>; 558cc087a1SEmmanuel Vadot interrupt-parent = <&gpio1>; 568cc087a1SEmmanuel Vadot interrupts = <7 IRQ_TYPE_LEVEL_LOW>; 578cc087a1SEmmanuel Vadot pinctrl-names = "default"; 588cc087a1SEmmanuel Vadot pinctrl-0 = <&tmp_alrt>; 59*0e8011faSEmmanuel Vadot vcc-supply = <&supply>; 608cc087a1SEmmanuel Vadot #thermal-sensor-cells = <0>; 618cc087a1SEmmanuel Vadot }; 628cc087a1SEmmanuel Vadot }; 63