xref: /freebsd/sys/contrib/device-tree/Bindings/hwmon/pmbus/ti,lm25066.yaml (revision 01950c46b8155250f64374fb72fc11faa44bf099)
18cc087a1SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
28cc087a1SEmmanuel Vadot%YAML 1.2
38cc087a1SEmmanuel Vadot---
48cc087a1SEmmanuel Vadot
58cc087a1SEmmanuel Vadot$id: http://devicetree.org/schemas/hwmon/pmbus/ti,lm25066.yaml#
68cc087a1SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
78cc087a1SEmmanuel Vadot
88cc087a1SEmmanuel Vadottitle: National Semiconductor/Texas Instruments LM250x6/LM506x power-management ICs
98cc087a1SEmmanuel Vadot
108cc087a1SEmmanuel Vadotmaintainers:
118cc087a1SEmmanuel Vadot  - Zev Weiss <zev@bewilderbeest.net>
128cc087a1SEmmanuel Vadot
138cc087a1SEmmanuel Vadotdescription: |
148cc087a1SEmmanuel Vadot  The LM25066 family of power-management ICs (a.k.a. hot-swap
158cc087a1SEmmanuel Vadot  controllers or eFuses in various contexts) are PMBus devices that
168cc087a1SEmmanuel Vadot  offer temperature, current, voltage, and power monitoring.
178cc087a1SEmmanuel Vadot
188cc087a1SEmmanuel Vadot  Datasheet: https://www.ti.com/lit/ds/symlink/lm25066.pdf
198cc087a1SEmmanuel Vadot
208cc087a1SEmmanuel Vadotproperties:
218cc087a1SEmmanuel Vadot  compatible:
228cc087a1SEmmanuel Vadot    enum:
238cc087a1SEmmanuel Vadot      - ti,lm25056
248cc087a1SEmmanuel Vadot      - ti,lm25066
258cc087a1SEmmanuel Vadot      - ti,lm5064
268cc087a1SEmmanuel Vadot      - ti,lm5066
278cc087a1SEmmanuel Vadot      - ti,lm5066i
288cc087a1SEmmanuel Vadot
298cc087a1SEmmanuel Vadot  reg:
308cc087a1SEmmanuel Vadot    maxItems: 1
318cc087a1SEmmanuel Vadot
328cc087a1SEmmanuel Vadot  shunt-resistor-micro-ohms:
338cc087a1SEmmanuel Vadot    description:
348cc087a1SEmmanuel Vadot      Shunt (sense) resistor value in micro-Ohms
358cc087a1SEmmanuel Vadot    default: 1000
368cc087a1SEmmanuel Vadot
37*01950c46SEmmanuel Vadot  regulators:
38*01950c46SEmmanuel Vadot    type: object
39*01950c46SEmmanuel Vadot
40*01950c46SEmmanuel Vadot    properties:
41*01950c46SEmmanuel Vadot      vout:
42*01950c46SEmmanuel Vadot        $ref: /schemas/regulator/regulator.yaml#
43*01950c46SEmmanuel Vadot        type: object
44*01950c46SEmmanuel Vadot
45*01950c46SEmmanuel Vadot        unevaluatedProperties: false
46*01950c46SEmmanuel Vadot
47*01950c46SEmmanuel Vadot    additionalProperties: false
48*01950c46SEmmanuel Vadot
498cc087a1SEmmanuel Vadotrequired:
508cc087a1SEmmanuel Vadot  - compatible
518cc087a1SEmmanuel Vadot  - reg
528cc087a1SEmmanuel Vadot
53*01950c46SEmmanuel VadotallOf:
54*01950c46SEmmanuel Vadot  - $ref: /schemas/hwmon/hwmon-common.yaml#
55*01950c46SEmmanuel Vadot
56*01950c46SEmmanuel VadotunevaluatedProperties: false
578cc087a1SEmmanuel Vadot
588cc087a1SEmmanuel Vadotexamples:
598cc087a1SEmmanuel Vadot  - |
608cc087a1SEmmanuel Vadot    i2c {
618cc087a1SEmmanuel Vadot        #address-cells = <1>;
628cc087a1SEmmanuel Vadot        #size-cells = <0>;
638cc087a1SEmmanuel Vadot
648cc087a1SEmmanuel Vadot        pmic@40 {
658cc087a1SEmmanuel Vadot            compatible = "ti,lm25066";
668cc087a1SEmmanuel Vadot            reg = <0x40>;
678cc087a1SEmmanuel Vadot            shunt-resistor-micro-ohms = <675>;
688cc087a1SEmmanuel Vadot        };
698cc087a1SEmmanuel Vadot    };
70