Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / regulator / onnn,fan53880.yaml
blobeb61e04ef85219bd7c9e81f8a15d95e299e48328
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/regulator/onnn,fan53880.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Onsemi FAN53880 PMIC
9 maintainers:
10   - Christoph Fritz <chf.fritz@googlemail.com>
12 description: |
13   The FAN53880 is an I2C porgrammable power management IC (PMIC)
14   that contains a BUCK (step-down converter), four low dropouts (LDO)
15   and one BOOST (step-up converter) output. It is designed for mobile
16   power applications.
18 properties:
19   $nodename:
20     pattern: "pmic@[0-9a-f]{1,2}"
21   compatible:
22     enum:
23       - onnn,fan53880
25   reg:
26     maxItems: 1
28   VIN12-supply:
29     description: Input supply phandle(s) for LDO1 and LDO2
31   VIN3-supply:
32     description: Input supply phandle(s) for LDO3
34   VIN4-supply:
35     description: Input supply phandle(s) for LDO4
37   PVIN-supply:
38     description: Input supply phandle(s) for BUCK and BOOST
40   regulators:
41     type: object
42     $ref: regulator.yaml#
43     description: |
44       list of regulators provided by this controller, must be named
45       after their hardware counterparts LDO[1-4], BUCK and BOOST
47     patternProperties:
48       "^LDO[1-4]$":
49         type: object
50         $ref: regulator.yaml#
52       "^BUCK|BOOST$":
53         type: object
54         $ref: regulator.yaml#
56     additionalProperties: false
58 required:
59   - compatible
60   - reg
61   - regulators
63 additionalProperties: false
65 examples:
66   - |
67     i2c {
68         #address-cells = <1>;
69         #size-cells = <0>;
71         pmic@35 {
72             compatible = "onnn,fan53880";
73             reg = <0x35>;
75             PVIN-supply = <&fixreg_example_vcc>;
77             regulators {
78                 BUCK {
79                     regulator-min-microvolt = <1200000>;
80                     regulator-max-microvolt = <1200000>;
81                 };
82             };
83        };
84      };
85 ...