1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/hwmon/lltc,ltc4286.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: LTC4286 power monitors
8
9maintainers:
10  - Delphine CC Chiu <Delphine_CC_Chiu@Wiwynn.com>
11
12properties:
13  compatible:
14    enum:
15      - lltc,ltc4286
16      - lltc,ltc4287
17
18  reg:
19    maxItems: 1
20
21  adi,vrange-low-enable:
22    description:
23      This property is a bool parameter to represent the
24      voltage range is 25.6 volts or 102.4 volts for this chip.
25      The default is 102.4 volts.
26    type: boolean
27
28required:
29  - compatible
30  - reg
31
32allOf:
33  - $ref: hwmon-common.yaml#
34
35unevaluatedProperties: false
36
37examples:
38  - |
39    i2c {
40        #address-cells = <1>;
41        #size-cells = <0>;
42
43        power-monitor@40 {
44            compatible = "lltc,ltc4286";
45            reg = <0x40>;
46            adi,vrange-low-enable;
47            shunt-resistor-micro-ohms = <300>;
48        };
49    };
50