1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2%YAML 1.2 3--- 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 PMIC 8 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,mp5416 18 - mps,mp5496 19 20 reg: 21 maxItems: 1 22 23 regulators: 24 type: object 25 description: | 26 list of regulators provided by this controller, must be named 27 after their hardware counterparts BUCK[1-4] and LDO[1-4] 28 29 patternProperties: 30 "^buck[1-4]$": 31 $ref: regulator.yaml# 32 type: object 33 34 "^ldo[1-4]$": 35 $ref: regulator.yaml# 36 type: object 37 38 additionalProperties: false 39 40required: 41 - compatible 42 - reg 43 - regulators 44 45additionalProperties: false 46 47examples: 48 - | 49 i2c { 50 #address-cells = <1>; 51 #size-cells = <0>; 52 53 pmic@69 { 54 compatible = "mps,mp5416"; 55 reg = <0x69>; 56 57 regulators { 58 59 buck1 { 60 regulator-name = "buck1"; 61 regulator-min-microvolt = <600000>; 62 regulator-max-microvolt = <2187500>; 63 regulator-min-microamp = <3800000>; 64 regulator-max-microamp = <6800000>; 65 regulator-boot-on; 66 }; 67 68 ldo2 { 69 regulator-name = "ldo2"; 70 regulator-min-microvolt = <800000>; 71 regulator-max-microvolt = <3975000>; 72 }; 73 }; 74 }; 75 }; 76... 77