1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/hwmon/ti,tmp108.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: TMP108/P3T1085(NXP) temperature sensor 8 9maintainers: 10 - Krzysztof Kozlowski <krzk@kernel.org> 11 12description: | 13 The TMP108/P3T1085(NXP) is a digital-output temperature sensor with a 14 dynamically-programmable limit window, and under- and overtemperature 15 alert functions. 16 17 P3T1085(NXP) support I3C. 18 19 Datasheets: 20 https://www.ti.com/product/TMP108 21 https://www.nxp.com/docs/en/data-sheet/P3T1085UK.pdf 22 23properties: 24 compatible: 25 enum: 26 - nxp,p3t1085 27 - ti,tmp108 28 29 interrupts: 30 items: 31 - description: alert interrupt 32 33 reg: 34 maxItems: 1 35 36 "#thermal-sensor-cells": 37 const: 0 38 39 vcc-supply: 40 description: phandle to the regulator that provides the V+ supply 41 42required: 43 - compatible 44 - reg 45 46additionalProperties: false 47 48examples: 49 - | 50 #include <dt-bindings/interrupt-controller/irq.h> 51 52 i2c { 53 #address-cells = <1>; 54 #size-cells = <0>; 55 56 sensor@48 { 57 compatible = "ti,tmp108"; 58 reg = <0x48>; 59 interrupt-parent = <&gpio1>; 60 interrupts = <7 IRQ_TYPE_LEVEL_LOW>; 61 pinctrl-names = "default"; 62 pinctrl-0 = <&tmp_alrt>; 63 vcc-supply = <&supply>; 64 #thermal-sensor-cells = <0>; 65 }; 66 }; 67