| 
     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 
    7 title: TMP108 temperature sensor
    8 
    9 maintainers:
   10   - Krzysztof Kozlowski <krzk@kernel.org>
   11 
   12 properties:
   13   compatible:
   14     enum:
   15       - ti,tmp108
   16 
   17   interrupts:
   18     items:
   19       - description: alert interrupt
   20 
   21   reg:
   22     maxItems: 1
   23 
   24   "#thermal-sensor-cells":
   25     const: 0
   26 
   27 required:
   28   - compatible
   29   - reg
   30 
   31 additionalProperties: false
   32 
   33 examples:
   34   - |
   35     #include <dt-bindings/interrupt-controller/irq.h>
   36 
   37     i2c {
   38         #address-cells = <1>;
   39         #size-cells = <0>;
   40 
   41         sensor@48 {
   42             compatible = "ti,tmp108";
   43             reg = <0x48>;
   44             interrupt-parent = <&gpio1>;
   45             interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
   46             pinctrl-names = "default";
   47             pinctrl-0 = <&tmp_alrt>;
   48             #thermal-sensor-cells = <0>;
   49         };
   50     };
Cache object: 7f294a1737cc15b436c74f009b93a92e 
 
 |