Merge tag 'mfd-next-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / mfd / ti,lp87561-q1.yaml
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,lp87561-q1.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: TI LP87561-Q1 single 4-phase output buck converter
8
9 maintainers:
10   - Keerthy <j-keerthy@ti.com>
11
12 properties:
13   compatible:
14     const: ti,lp87561-q1
15
16   reg:
17     description: I2C slave address
18     const: 0x60
19
20   reset-gpios:
21     description: GPIO connected to NRST pin (active low reset, pin 20)
22     maxItems: 1
23
24   gpio-controller: true
25
26   '#gpio-cells':
27     description:
28       The first cell is the pin number.
29       The second cell is is used to specify flags.
30       See ../gpio/gpio.txt for more information.
31     const: 2
32
33   buck3210-in-supply:
34     description:
35       Voltage regulator supply for all the four BUCK converters.
36
37   regulators:
38     type: object
39
40     properties:
41       buck3210:
42         type: object
43         $ref: /schemas/regulator/regulator.yaml#
44
45     required:
46       - buck3210
47
48     additionalProperties: false
49
50 required:
51   - compatible
52   - reg
53   - gpio-controller
54   - '#gpio-cells'
55   - buck3210-in-supply
56
57 additionalProperties: false
58
59 examples:
60   - |
61     i2c@0 {
62         reg = <0x0 0x100>;
63         #address-cells = <1>;
64         #size-cells = <0>;
65
66         pmic@60 {
67             compatible = "ti,lp87561-q1";
68             reg = <0x60>;
69             gpio-controller;
70             #gpio-cells = <2>;
71
72             buck3210-in-supply = <&vsys_3v3>;
73
74             regulators {
75                 buck3210_reg: buck3210 {
76                     /* VDD_CORE */
77                     regulator-name = "buck3210";
78                     regulator-min-microvolt = <800000>;
79                     regulator-max-microvolt = <800000>;
80                     regulator-always-on;
81                     regulator-boot-on;
82                 };
83             };
84         };
85     };
86
87 ...