xref: /linux/Documentation/devicetree/bindings/hwmon/st,stts751.yaml (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/hwmon/st,stts751.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: STTS751 Thermometer
8
9maintainers:
10  - Javier Carrasco <javier.carrasco.cruz@gmail.com>
11
12properties:
13  compatible:
14    const: st,stts751
15
16  reg:
17    maxItems: 1
18
19  smbus-timeout-disable:
20    description:
21      When set, the smbus timeout function will be disabled.
22    $ref: /schemas/types.yaml#/definitions/flag
23
24required:
25  - compatible
26  - reg
27
28additionalProperties: false
29
30examples:
31  - |
32    i2c {
33        #address-cells = <1>;
34        #size-cells = <0>;
35
36        thermometer@48 {
37            compatible = "st,stts751";
38            reg = <0x48>;
39            smbus-timeout-disable;
40        };
41    };
42