brintos

brintos / linux-shallow public Read only

0
0
Text · 860 B · 7e5b62a Raw
48 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/hwmon/ti,tmp102.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: TMP102 temperature sensor8 9maintainers:10  - Krzysztof Kozlowski <krzk@kernel.org>11 12properties:13  compatible:14    enum:15      - ti,tmp10216 17  interrupts:18    maxItems: 119 20  reg:21    maxItems: 122 23  "#thermal-sensor-cells":24    const: 125 26required:27  - compatible28  - reg29 30additionalProperties: false31 32examples:33  - |34    #include <dt-bindings/interrupt-controller/irq.h>35 36    i2c {37        #address-cells = <1>;38        #size-cells = <0>;39 40        sensor@48 {41            compatible = "ti,tmp102";42            reg = <0x48>;43            interrupt-parent = <&gpio7>;44            interrupts = <16 IRQ_TYPE_LEVEL_LOW>;45            #thermal-sensor-cells = <1>;46        };47    };48