brintos

brintos / linux-shallow public Read only

0
0
Text · 1.6 KiB · f825ee9 Raw
79 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/regulator/mps,mp5416.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Monolithic Power System MP5416 PMIC8 9maintainers:10  - Saravanan Sekar <sravanhome@gmail.com>11 12properties:13  $nodename:14    pattern: "^pmic@[0-9a-f]{1,2}$"15  compatible:16    enum:17      - mps,mp541618      - mps,mp549619 20  reg:21    maxItems: 122 23  regulators:24    type: object25    description: |26      list of regulators provided by this controller, must be named27      after their hardware counterparts BUCK[1-4] and LDO[1-4]28 29    patternProperties:30      "^buck[1-4]$":31        $ref: regulator.yaml#32        unevaluatedProperties: false33        type: object34 35      "^ldo[1-4]$":36        $ref: regulator.yaml#37        unevaluatedProperties: false38        type: object39 40    additionalProperties: false41 42required:43  - compatible44  - reg45  - regulators46 47additionalProperties: false48 49examples:50  - |51    i2c {52        #address-cells = <1>;53        #size-cells = <0>;54 55        pmic@69 {56          compatible = "mps,mp5416";57          reg = <0x69>;58 59          regulators {60 61            buck1 {62             regulator-name = "buck1";63             regulator-min-microvolt = <600000>;64             regulator-max-microvolt = <2187500>;65             regulator-min-microamp = <3800000>;66             regulator-max-microamp = <6800000>;67             regulator-boot-on;68            };69 70            ldo2 {71             regulator-name = "ldo2";72             regulator-min-microvolt = <800000>;73             regulator-max-microvolt = <3975000>;74            };75         };76       };77     };78...79