blob: 853df9fef6c83efb7bcd22ba33fc1644f10b2aa1 [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
Tom Rini93743d22024-04-01 09:08:13 -040028required:
29 - compatible
30 - reg
31
Tom Rini6bb92fc2024-05-20 09:54:58 -060032allOf:
33 - $ref: hwmon-common.yaml#
34
35unevaluatedProperties: false
Tom Rini93743d22024-04-01 09:08:13 -040036
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 };