xref: /linux/Documentation/devicetree/bindings/mfd/ti,lp8732.yaml (revision 6e7fd890f1d6ac83805409e9c346240de2705584)
1# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mfd/ti,lp8732.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: TI LP873X Power Management Integrated Circuit
8
9maintainers:
10  - J Keerthy <j-keerthy@ti.com>
11
12description:
13  PMIC with two high-current buck converters and two linear regulators.
14
15properties:
16  compatible:
17    enum:
18      - ti,lp8732
19      - ti,lp8733
20
21  reg:
22    maxItems: 1
23
24  gpio-controller: true
25
26  '#gpio-cells':
27    const: 2
28
29  regulators:
30    description:
31      List of child nodes that specify the regulator initialization data.
32    type: object
33    patternProperties:
34      "^buck[01]|ldo[01]$":
35        type: object
36        $ref: /schemas/regulator/regulator.yaml#
37        unevaluatedProperties: false
38    additionalProperties: false
39
40patternProperties:
41  '^(buck[01]|ldo[01])-in-supply$':
42    description: Phandle to parent supply of each regulator populated under regulators node.
43
44required:
45  - compatible
46  - reg
47  - regulators
48  - buck0-in-supply
49  - buck1-in-supply
50  - ldo0-in-supply
51  - ldo1-in-supply
52
53additionalProperties: false
54
55examples:
56  - |
57    i2c {
58        #address-cells = <1>;
59        #size-cells = <0>;
60
61        pmic: pmic@60 {
62            compatible = "ti,lp8733";
63            reg = <0x60>;
64            gpio-controller;
65            #gpio-cells = <2>;
66
67            buck0-in-supply = <&vsys_3v3>;
68            buck1-in-supply = <&vsys_3v3>;
69            ldo0-in-supply = <&vsys_3v3>;
70            ldo1-in-supply = <&vsys_3v3>;
71
72            regulators {
73                buck0: buck0 {
74                    regulator-name = "buck0";
75                    regulator-min-microvolt = <800000>;
76                    regulator-max-microvolt = <1400000>;
77                    regulator-min-microamp = <1500000>;
78                    regulator-max-microamp = <4000000>;
79                    regulator-ramp-delay = <10000>;
80                    regulator-always-on;
81                    regulator-boot-on;
82                };
83
84                buck1: buck1 {
85                    regulator-name = "buck1";
86                    regulator-min-microvolt = <800000>;
87                    regulator-max-microvolt = <1400000>;
88                    regulator-min-microamp = <1500000>;
89                    regulator-max-microamp = <4000000>;
90                    regulator-ramp-delay = <10000>;
91                    regulator-boot-on;
92                    regulator-always-on;
93                };
94
95                ldo0: ldo0 {
96                    regulator-name = "ldo0";
97                    regulator-min-microvolt = <800000>;
98                    regulator-max-microvolt = <3000000>;
99                    regulator-boot-on;
100                    regulator-always-on;
101                };
102
103                ldo1: ldo1 {
104                    regulator-name = "ldo1";
105                    regulator-min-microvolt = <800000>;
106                    regulator-max-microvolt = <3000000>;
107                    regulator-always-on;
108                    regulator-boot-on;
109                };
110            };
111        };
112    };
113