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/P3T1035/P3T1085/P3T2030 temperature sensor 8 9maintainers: 10 - Krzysztof Kozlowski <krzk@kernel.org> 11 12description: | 13 The TMP108 or NXP P3T Family (P3T1035, P3T1085 and P3T2030) is a digital- 14 output temperature sensor with a dynamically-programmable limit window, 15 and under- and over-temperature alert functions. 16 17 NXP P3T Family (P3T1035, P3T1085 and P3T2030) supports I3C. 18 19 Datasheets: 20 https://www.ti.com/product/TMP108 21 https://www.nxp.com/docs/en/data-sheet/P3T1085UK.pdf 22 https://www.nxp.com/docs/en/data-sheet/P3T1035XUK_P3T2030XUK.pdf 23 24properties: 25 compatible: 26 oneOf: 27 - items: 28 - const: nxp,p3t2030 29 - const: nxp,p3t1035 30 - const: nxp,p3t1035 31 - const: nxp,p3t1085 32 - const: ti,tmp108 33 34 interrupts: 35 items: 36 - description: alert interrupt 37 38 reg: 39 maxItems: 1 40 41 "#thermal-sensor-cells": 42 const: 0 43 44 vcc-supply: 45 description: phandle to the regulator that provides the V+ supply 46 47required: 48 - compatible 49 - reg 50 51additionalProperties: false 52 53examples: 54 - | 55 #include <dt-bindings/interrupt-controller/irq.h> 56 57 i2c { 58 #address-cells = <1>; 59 #size-cells = <0>; 60 61 sensor@48 { 62 compatible = "ti,tmp108"; 63 reg = <0x48>; 64 interrupt-parent = <&gpio1>; 65 interrupts = <7 IRQ_TYPE_LEVEL_LOW>; 66 pinctrl-names = "default"; 67 pinctrl-0 = <&tmp_alrt>; 68 vcc-supply = <&supply>; 69 #thermal-sensor-cells = <0>; 70 }; 71 }; 72