xref: /linux/Documentation/devicetree/bindings/hwmon/pmbus/ti,tps25990.yaml (revision 7f71507851fc7764b36a3221839607d3a45c2025)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4
5$id: http://devicetree.org/schemas/hwmon/pmbus/ti,tps25990.yaml#
6$schema: http://devicetree.org/meta-schemas/core.yaml#
7
8title: Texas Instruments TPS25990 Stackable eFuse
9
10maintainers:
11  - Jerome Brunet <jbrunet@baylibre.com>
12
13description:
14  The TI TPS25990 is an integrated, high-current circuit
15  protection and power management device with PMBUS interface
16
17properties:
18  compatible:
19    const: ti,tps25990
20
21  reg:
22    maxItems: 1
23
24  ti,rimon-micro-ohms:
25    description:
26      micro Ohms value of the resistance installed between the Imon pin
27      and the ground reference.
28
29  interrupts:
30    description: PMBUS SMB Alert Interrupt.
31    maxItems: 1
32
33  regulators:
34    type: object
35    description:
36      list of regulators provided by this controller.
37
38    properties:
39      vout:
40        $ref: /schemas/regulator/regulator.yaml#
41        type: object
42        unevaluatedProperties: false
43
44      gpdac1:
45        $ref: /schemas/regulator/regulator.yaml#
46        type: object
47        unevaluatedProperties: false
48
49      gpdac2:
50        $ref: /schemas/regulator/regulator.yaml#
51        type: object
52        unevaluatedProperties: false
53    additionalProperties: false
54
55required:
56  - compatible
57  - reg
58  - ti,rimon-micro-ohms
59
60additionalProperties: false
61
62examples:
63  - |
64    #include <dt-bindings/interrupt-controller/irq.h>
65    i2c {
66        #address-cells = <1>;
67        #size-cells = <0>;
68
69        hw-monitor@46 {
70            compatible = "ti,tps25990";
71            reg = <0x46>;
72
73            interrupt-parent = <&gpio>;
74            interrupts = <42 IRQ_TYPE_LEVEL_LOW>;
75            ti,rimon-micro-ohms = <1370000000>;
76
77            regulators {
78                cpu0_vout: vout {
79                    regulator-name = "main_cpu0";
80                };
81            };
82        };
83    };
84