WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / mfd / ti,lp87565-q1.yaml
blob1da6d6a958c99d01ab6052ae7f63c1e03773f747
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,lp87565-q1.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TI LP87565-Q1 / LP87565 dual 2-phase output buck converter
9 maintainers:
10   - Keerthy <j-keerthy@ti.com>
12 properties:
13   compatible:
14     oneOf:
15       - const: ti,lp87565
16       - const: ti,lp87565-q1
18   reg:
19     description: I2C slave address
20     const: 0x60
22   gpio-controller: true
24   '#gpio-cells':
25     description:
26       The first cell is the pin number.
27       The second cell is is used to specify flags.
28       See ../gpio/gpio.txt for more information.
29     const: 2
31   buck10-in-supply:
32     description:
33       Voltage regulator supply for BUCK0 and BUCK1 converters.
35   buck23-in-supply:
36     description:
37       Voltage regulator supply for BUCK2 and BUCK3 converters.
39   regulators:
40     type: object
42     patternProperties:
43       "^buck(10|23)$":
44         type: object
45         $ref: /schemas/regulator/regulator.yaml#
47     required:
48       - buck10
49       - buck23
51     additionalProperties: false
53 required:
54   - compatible
55   - reg
56   - gpio-controller
57   - '#gpio-cells'
58   - buck10-in-supply
59   - buck23-in-supply
61 additionalProperties: false
63 examples:
64   - |
65     i2c@0 {
66         reg = <0x0 0x100>;
67         #address-cells = <1>;
68         #size-cells = <0>;
70         pmic@60 {
71             compatible = "ti,lp87565-q1";
72             reg = <0x60>;
73             gpio-controller;
74             #gpio-cells = <2>;
76             buck10-in-supply = <&vsys_3v3>;
77             buck23-in-supply = <&vsys_3v3>;
79             regulators {
80                 buck10_reg: buck10 {
81                     /* VDD_MPU */
82                     regulator-name = "buck10";
83                     regulator-min-microvolt = <850000>;
84                     regulator-max-microvolt = <1250000>;
85                     regulator-always-on;
86                     regulator-boot-on;
87                 };
89                 buck23_reg: buck23 {
90                     /* VDD_GPU */
91                     regulator-name = "buck23";
92                     regulator-min-microvolt = <850000>;
93                     regulator-max-microvolt = <1250000>;
94                     regulator-boot-on;
95                     regulator-always-on;
96                 };
97             };
98         };
99     };