xref: /openbmc/linux/Documentation/devicetree/bindings/hwmon/ti,tmp108.yaml (revision c900529f3d9161bfde5cca0754f83b4d3c3e0220)
1*440b075bSKrzysztof Kozlowski# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
245678babSKrzysztof Kozlowski%YAML 1.2
345678babSKrzysztof Kozlowski---
445678babSKrzysztof Kozlowski$id: http://devicetree.org/schemas/hwmon/ti,tmp108.yaml#
545678babSKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml#
645678babSKrzysztof Kozlowski
745678babSKrzysztof Kozlowskititle: TMP108 temperature sensor
845678babSKrzysztof Kozlowski
945678babSKrzysztof Kozlowskimaintainers:
108a1e6bb3SKrzysztof Kozlowski  - Krzysztof Kozlowski <krzk@kernel.org>
1145678babSKrzysztof Kozlowski
1245678babSKrzysztof Kozlowskiproperties:
1345678babSKrzysztof Kozlowski  compatible:
1445678babSKrzysztof Kozlowski    enum:
1545678babSKrzysztof Kozlowski      - ti,tmp108
1645678babSKrzysztof Kozlowski
1745678babSKrzysztof Kozlowski  interrupts:
1845678babSKrzysztof Kozlowski    items:
1945678babSKrzysztof Kozlowski      - description: alert interrupt
2045678babSKrzysztof Kozlowski
2145678babSKrzysztof Kozlowski  reg:
2245678babSKrzysztof Kozlowski    maxItems: 1
2345678babSKrzysztof Kozlowski
2445678babSKrzysztof Kozlowski  "#thermal-sensor-cells":
2545678babSKrzysztof Kozlowski    const: 0
2645678babSKrzysztof Kozlowski
2745678babSKrzysztof Kozlowskirequired:
2845678babSKrzysztof Kozlowski  - compatible
2945678babSKrzysztof Kozlowski  - reg
3045678babSKrzysztof Kozlowski
3145678babSKrzysztof KozlowskiadditionalProperties: false
3245678babSKrzysztof Kozlowski
3345678babSKrzysztof Kozlowskiexamples:
3445678babSKrzysztof Kozlowski  - |
3545678babSKrzysztof Kozlowski    #include <dt-bindings/interrupt-controller/irq.h>
3645678babSKrzysztof Kozlowski
3745678babSKrzysztof Kozlowski    i2c {
3845678babSKrzysztof Kozlowski        #address-cells = <1>;
3945678babSKrzysztof Kozlowski        #size-cells = <0>;
4045678babSKrzysztof Kozlowski
4145678babSKrzysztof Kozlowski        sensor@48 {
4245678babSKrzysztof Kozlowski            compatible = "ti,tmp108";
4345678babSKrzysztof Kozlowski            reg = <0x48>;
4445678babSKrzysztof Kozlowski            interrupt-parent = <&gpio1>;
4545678babSKrzysztof Kozlowski            interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
4645678babSKrzysztof Kozlowski            pinctrl-names = "default";
4745678babSKrzysztof Kozlowski            pinctrl-0 = <&tmp_alrt>;
4845678babSKrzysztof Kozlowski            #thermal-sensor-cells = <0>;
4945678babSKrzysztof Kozlowski        };
5045678babSKrzysztof Kozlowski    };
51