1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/hwmon/adi,max31827.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Analog Devices MAX31827, MAX31828, MAX31829 Low-Power Temperature Switch
8
9maintainers:
10  - Daniel Matyas <daniel.matyas@analog.com>
11
12description: |
13  Analog Devices MAX31827, MAX31828, MAX31829 Low-Power Temperature Switch with
14  I2C Interface
15  https://www.analog.com/media/en/technical-documentation/data-sheets/MAX31827-MAX31829.pdf
16
17properties:
18  compatible:
19    oneOf:
20      - const: adi,max31827
21      - items:
22          - enum:
23              - adi,max31828
24              - adi,max31829
25          - const: adi,max31827
26
27  reg:
28    maxItems: 1
29
30  vref-supply:
31    description:
32      Must have values in the interval (1.6V; 3.6V) in order for the device to
33      function correctly.
34
35required:
36  - compatible
37  - reg
38  - vref-supply
39
40additionalProperties: false
41
42examples:
43  - |
44    i2c {
45        #address-cells = <1>;
46        #size-cells = <0>;
47
48        temperature-sensor@42 {
49            compatible = "adi,max31827";
50            reg = <0x42>;
51            vref-supply = <&reg_vdd>;
52        };
53    };
54...
55