WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / mfd / ti,lp87524-q1.yaml
blobc4fc5345d38d1c48438bae05299d9242a66d6c34
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/mfd/ti,lp87524-q1.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TI LP87524-Q1 four 1-phase output buck converter
9 maintainers:
10   - Keerthy <j-keerthy@ti.com>
12 properties:
13   compatible:
14     const: ti,lp87524-q1
16   reg:
17     description: I2C slave address
18     const: 0x60
20   gpio-controller: true
22   '#gpio-cells':
23     description:
24       The first cell is the pin number.
25       The second cell is is used to specify flags.
26       See ../gpio/gpio.txt for more information.
27     const: 2
29   regulators:
30     type: object
32     patternProperties:
33       "^buck[0123]$":
34         type: object
35         $ref: /schemas/regulator/regulator.yaml#
37     required:
38       - buck0
39       - buck1
40       - buck2
41       - buck3
43     additionalProperties: false
45 patternProperties:
46   "^buck[0123]-in-supply$":
47     description: Voltage regulator supply for each BUCK converter
49 required:
50   - compatible
51   - reg
52   - gpio-controller
53   - '#gpio-cells'
54   - buck0-in-supply
55   - buck1-in-supply
56   - buck2-in-supply
57   - buck3-in-supply
58   - regulators
60 additionalProperties: false
62 examples:
63   - |
64     i2c@0 {
65         reg = <0x0 0x100>;
66         #address-cells = <1>;
67         #size-cells = <0>;
69         pmic@60 {
70             compatible = "ti,lp87524-q1";
71             reg = <0x60>;
72             gpio-controller;
73             #gpio-cells = <2>;
75             buck0-in-supply = <&vdd_5v0>;
76             buck1-in-supply = <&vdd_5v0>;
77             buck2-in-supply = <&vdd_5v0>;
78             buck3-in-supply = <&vdd_5v0>;
80             regulators {
81                 buck0_reg: buck0 {
82                     regulator-name = "buck0";
83                     regulator-min-microvolt = <3300000>;
84                     regulator-max-microvolt = <3300000>;
85                     regulator-always-on;
86                 };
88                 buck1_reg: buck1 {
89                     regulator-name = "buck1";
90                     regulator-min-microvolt = <1350000>;
91                     regulator-max-microvolt = <1350000>;
92                     regulator-always-on;
93                 };
95                 buck2_reg: buck2 {
96                     regulator-name = "buck2";
97                     regulator-min-microvolt = <950000>;
98                     regulator-max-microvolt = <950000>;
99                     regulator-always-on;
100                 };
102                 buck3_reg: buck3 {
103                     regulator-name = "buck3";
104                     regulator-min-microvolt = <1800000>;
105                     regulator-max-microvolt = <1800000>;
106                     regulator-always-on;
107                 };
108             };
109         };
110     };