blob: 98ca163d348688e1872430a946008f6d2557390c [file] [log] [blame]
Tom Rini93743d22024-04-01 09:08:13 -04001# 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
28 shunt-resistor-micro-ohms:
29 description:
30 Resistor value micro-ohms.
31
32required:
33 - compatible
34 - reg
35
36additionalProperties: false
37
38examples:
39 - |
40 i2c {
41 #address-cells = <1>;
42 #size-cells = <0>;
43
44 power-monitor@40 {
45 compatible = "lltc,ltc4286";
46 reg = <0x40>;
47 adi,vrange-low-enable;
48 shunt-resistor-micro-ohms = <300>;
49 };
50 };