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