brintos

brintos / linux-shallow public Read only

0
0
Text · 1.9 KiB · b518171 Raw
88 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/regulator/onnn,fan53880.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Onsemi FAN53880 PMIC8 9maintainers:10  - Christoph Fritz <chf.fritz@googlemail.com>11 12description: |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 mobile16  power applications.17 18properties:19  $nodename:20    pattern: "pmic@[0-9a-f]{1,2}"21  compatible:22    enum:23      - onnn,fan5388024 25  reg:26    maxItems: 127 28  VIN12-supply:29    description: Input supply phandle(s) for LDO1 and LDO230 31  VIN3-supply:32    description: Input supply phandle(s) for LDO333 34  VIN4-supply:35    description: Input supply phandle(s) for LDO436 37  PVIN-supply:38    description: Input supply phandle(s) for BUCK and BOOST39 40  regulators:41    type: object42    $ref: regulator.yaml#43    description: |44      list of regulators provided by this controller, must be named45      after their hardware counterparts LDO[1-4], BUCK and BOOST46 47    patternProperties:48      "^LDO[1-4]$":49        type: object50        $ref: regulator.yaml#51        unevaluatedProperties: false52 53      "^BUCK|BOOST$":54        type: object55        $ref: regulator.yaml#56        unevaluatedProperties: false57 58    additionalProperties: false59 60required:61  - compatible62  - reg63  - regulators64 65additionalProperties: false66 67examples:68  - |69    i2c {70        #address-cells = <1>;71        #size-cells = <0>;72 73        pmic@35 {74            compatible = "onnn,fan53880";75            reg = <0x35>;76 77            PVIN-supply = <&fixreg_example_vcc>;78 79            regulators {80                BUCK {81                    regulator-min-microvolt = <1200000>;82                    regulator-max-microvolt = <1200000>;83                };84            };85       };86     };87...88