1*440b075bSKrzysztof Kozlowski# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
24c423789SKrzysztof Kozlowski%YAML 1.2
34c423789SKrzysztof Kozlowski---
44c423789SKrzysztof Kozlowski$id: http://devicetree.org/schemas/hwmon/ti,tmp102.yaml#
54c423789SKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml#
64c423789SKrzysztof Kozlowski
74c423789SKrzysztof Kozlowskititle: TMP102 temperature sensor
84c423789SKrzysztof Kozlowski
94c423789SKrzysztof Kozlowskimaintainers:
108a1e6bb3SKrzysztof Kozlowski  - Krzysztof Kozlowski <krzk@kernel.org>
114c423789SKrzysztof Kozlowski
124c423789SKrzysztof Kozlowskiproperties:
134c423789SKrzysztof Kozlowski  compatible:
144c423789SKrzysztof Kozlowski    enum:
154c423789SKrzysztof Kozlowski      - ti,tmp102
164c423789SKrzysztof Kozlowski
174c423789SKrzysztof Kozlowski  interrupts:
184c423789SKrzysztof Kozlowski    maxItems: 1
194c423789SKrzysztof Kozlowski
204c423789SKrzysztof Kozlowski  reg:
214c423789SKrzysztof Kozlowski    maxItems: 1
224c423789SKrzysztof Kozlowski
234c423789SKrzysztof Kozlowski  "#thermal-sensor-cells":
244c423789SKrzysztof Kozlowski    const: 1
254c423789SKrzysztof Kozlowski
264c423789SKrzysztof Kozlowskirequired:
274c423789SKrzysztof Kozlowski  - compatible
284c423789SKrzysztof Kozlowski  - reg
294c423789SKrzysztof Kozlowski
304c423789SKrzysztof KozlowskiadditionalProperties: false
314c423789SKrzysztof Kozlowski
324c423789SKrzysztof Kozlowskiexamples:
334c423789SKrzysztof Kozlowski  - |
344c423789SKrzysztof Kozlowski    #include <dt-bindings/interrupt-controller/irq.h>
354c423789SKrzysztof Kozlowski
364c423789SKrzysztof Kozlowski    i2c {
374c423789SKrzysztof Kozlowski        #address-cells = <1>;
384c423789SKrzysztof Kozlowski        #size-cells = <0>;
394c423789SKrzysztof Kozlowski
404c423789SKrzysztof Kozlowski        sensor@48 {
414c423789SKrzysztof Kozlowski            compatible = "ti,tmp102";
424c423789SKrzysztof Kozlowski            reg = <0x48>;
434c423789SKrzysztof Kozlowski            interrupt-parent = <&gpio7>;
444c423789SKrzysztof Kozlowski            interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
454c423789SKrzysztof Kozlowski            #thermal-sensor-cells = <1>;
464c423789SKrzysztof Kozlowski        };
474c423789SKrzysztof Kozlowski    };
48