WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / mfd / ti,lp87561-q1.yaml
bloba7e57c0913e1d71f697746ddf86cc7160e378e56
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#
7 title: TI LP87561-Q1 single 4-phase output buck converter
9 maintainers:
10   - Keerthy <j-keerthy@ti.com>
12 properties:
13   compatible:
14     const: ti,lp87561-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   buck3210-in-supply:
30     description:
31       Voltage regulator supply for all the four BUCK converters.
33   regulators:
34     type: object
36     properties:
37       buck3210:
38         type: object
39         $ref: /schemas/regulator/regulator.yaml#
41     required:
42       - buck3210
44     additionalProperties: false
46 required:
47   - compatible
48   - reg
49   - gpio-controller
50   - '#gpio-cells'
51   - buck3210-in-supply
53 additionalProperties: false
55 examples:
56   - |
57     i2c@0 {
58         reg = <0x0 0x100>;
59         #address-cells = <1>;
60         #size-cells = <0>;
62         pmic@60 {
63             compatible = "ti,lp87561-q1";
64             reg = <0x60>;
65             gpio-controller;
66             #gpio-cells = <2>;
68             buck3210-in-supply = <&vsys_3v3>;
70             regulators {
71                 buck3210_reg: buck3210 {
72                     /* VDD_CORE */
73                     regulator-name = "buck3210";
74                     regulator-min-microvolt = <800000>;
75                     regulator-max-microvolt = <800000>;
76                     regulator-always-on;
77                     regulator-boot-on;
78                 };
79             };
80         };
81     };
83 ...