xref: /freebsd/sys/contrib/device-tree/Bindings/hwmon/lltc,ltc4286.yaml (revision 01950c46b8155250f64374fb72fc11faa44bf099)
18d13bc63SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
28d13bc63SEmmanuel Vadot%YAML 1.2
38d13bc63SEmmanuel Vadot---
48d13bc63SEmmanuel Vadot$id: http://devicetree.org/schemas/hwmon/lltc,ltc4286.yaml#
58d13bc63SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68d13bc63SEmmanuel Vadot
78d13bc63SEmmanuel Vadottitle: LTC4286 power monitors
88d13bc63SEmmanuel Vadot
98d13bc63SEmmanuel Vadotmaintainers:
108d13bc63SEmmanuel Vadot  - Delphine CC Chiu <Delphine_CC_Chiu@Wiwynn.com>
118d13bc63SEmmanuel Vadot
128d13bc63SEmmanuel Vadotproperties:
138d13bc63SEmmanuel Vadot  compatible:
148d13bc63SEmmanuel Vadot    enum:
158d13bc63SEmmanuel Vadot      - lltc,ltc4286
168d13bc63SEmmanuel Vadot      - lltc,ltc4287
178d13bc63SEmmanuel Vadot
188d13bc63SEmmanuel Vadot  reg:
198d13bc63SEmmanuel Vadot    maxItems: 1
208d13bc63SEmmanuel Vadot
218d13bc63SEmmanuel Vadot  adi,vrange-low-enable:
228d13bc63SEmmanuel Vadot    description:
238d13bc63SEmmanuel Vadot      This property is a bool parameter to represent the
248d13bc63SEmmanuel Vadot      voltage range is 25.6 volts or 102.4 volts for this chip.
258d13bc63SEmmanuel Vadot      The default is 102.4 volts.
268d13bc63SEmmanuel Vadot    type: boolean
278d13bc63SEmmanuel Vadot
288d13bc63SEmmanuel Vadotrequired:
298d13bc63SEmmanuel Vadot  - compatible
308d13bc63SEmmanuel Vadot  - reg
318d13bc63SEmmanuel Vadot
32*01950c46SEmmanuel VadotallOf:
33*01950c46SEmmanuel Vadot  - $ref: hwmon-common.yaml#
34*01950c46SEmmanuel Vadot
35*01950c46SEmmanuel VadotunevaluatedProperties: false
368d13bc63SEmmanuel Vadot
378d13bc63SEmmanuel Vadotexamples:
388d13bc63SEmmanuel Vadot  - |
398d13bc63SEmmanuel Vadot    i2c {
408d13bc63SEmmanuel Vadot        #address-cells = <1>;
418d13bc63SEmmanuel Vadot        #size-cells = <0>;
428d13bc63SEmmanuel Vadot
438d13bc63SEmmanuel Vadot        power-monitor@40 {
448d13bc63SEmmanuel Vadot            compatible = "lltc,ltc4286";
458d13bc63SEmmanuel Vadot            reg = <0x40>;
468d13bc63SEmmanuel Vadot            adi,vrange-low-enable;
478d13bc63SEmmanuel Vadot            shunt-resistor-micro-ohms = <300>;
488d13bc63SEmmanuel Vadot        };
498d13bc63SEmmanuel Vadot    };
50