xref: /linux/Documentation/devicetree/bindings/hwmon/pmbus/mps,mp2975.yaml (revision 7f71507851fc7764b36a3221839607d3a45c2025)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/hwmon/pmbus/mps,mp2975.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: MPS MP2975 Synchronous Buck Regulator
8
9maintainers:
10  - Naresh Solanki <naresh.solanki@9elements.com>
11
12description:
13  The MPS MP2971, MP2973 & MP2975 is a multi-phase voltage regulator
14  designed for use in high-performance computing and server
15  applications. It supports I2C/PMBus for control and monitoring.
16
17properties:
18  compatible:
19    enum:
20      - mps,mp2971
21      - mps,mp2973
22      - mps,mp2975
23
24  reg:
25    maxItems: 1
26
27  interrupts:
28    maxItems: 1
29
30  regulators:
31    type: object
32    description:
33      List of regulators provided by this controller.
34
35    patternProperties:
36      "^vout[0-1]$":
37        $ref: /schemas/regulator/regulator.yaml#
38        type: object
39        unevaluatedProperties: false
40
41    additionalProperties: false
42
43required:
44  - compatible
45  - reg
46
47additionalProperties: false
48
49examples:
50  - |
51    #include <dt-bindings/interrupt-controller/irq.h>
52    i2c {
53        #address-cells = <1>;
54        #size-cells = <0>;
55
56        regulator@58 {
57            compatible = "mps,mp2973";
58            reg = <0x58>;
59
60            interrupt-parent = <&smb_pex_cpu1_event>;
61            interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
62
63            regulators {
64                vout0 {
65                    regulator-name = "pvccin_cpu1";
66                    regulator-enable-ramp-delay = <200>;
67                };
68                vout1 {
69                    regulator-name = "pvccfa_ehv_fivra_cpu1";
70                    regulator-enable-ramp-delay = <200>;
71                };
72            };
73        };
74    };
75
76