1 # SPDX-License-Identifier: GPL-2.0-only OR BSD 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/regulator/m 4 $id: http://devicetree.org/schemas/regulator/mps,mp5416.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Monolithic Power System MP5416 PMIC 7 title: Monolithic Power System MP5416 PMIC 8 8 9 maintainers: 9 maintainers: 10 - Saravanan Sekar <sravanhome@gmail.com> 10 - Saravanan Sekar <sravanhome@gmail.com> 11 11 12 properties: 12 properties: 13 $nodename: 13 $nodename: 14 pattern: "^pmic@[0-9a-f]{1,2}$" 14 pattern: "^pmic@[0-9a-f]{1,2}$" 15 compatible: 15 compatible: 16 enum: 16 enum: 17 - mps,mp5416 17 - mps,mp5416 18 - mps,mp5496 18 - mps,mp5496 19 19 20 reg: 20 reg: 21 maxItems: 1 21 maxItems: 1 22 22 23 regulators: 23 regulators: 24 type: object 24 type: object 25 description: | 25 description: | 26 list of regulators provided by this cont 26 list of regulators provided by this controller, must be named 27 after their hardware counterparts BUCK[1 27 after their hardware counterparts BUCK[1-4] and LDO[1-4] 28 28 29 patternProperties: 29 patternProperties: 30 "^buck[1-4]$": 30 "^buck[1-4]$": 31 $ref: regulator.yaml# 31 $ref: regulator.yaml# 32 unevaluatedProperties: false 32 unevaluatedProperties: false 33 type: object 33 type: object 34 34 35 "^ldo[1-4]$": 35 "^ldo[1-4]$": 36 $ref: regulator.yaml# 36 $ref: regulator.yaml# 37 unevaluatedProperties: false 37 unevaluatedProperties: false 38 type: object 38 type: object 39 39 40 additionalProperties: false 40 additionalProperties: false 41 41 42 required: 42 required: 43 - compatible 43 - compatible 44 - reg 44 - reg 45 - regulators 45 - regulators 46 46 47 additionalProperties: false 47 additionalProperties: false 48 48 49 examples: 49 examples: 50 - | 50 - | 51 i2c { 51 i2c { 52 #address-cells = <1>; 52 #address-cells = <1>; 53 #size-cells = <0>; 53 #size-cells = <0>; 54 54 55 pmic@69 { 55 pmic@69 { 56 compatible = "mps,mp5416"; 56 compatible = "mps,mp5416"; 57 reg = <0x69>; 57 reg = <0x69>; 58 58 59 regulators { 59 regulators { 60 60 61 buck1 { 61 buck1 { 62 regulator-name = "buck1"; 62 regulator-name = "buck1"; 63 regulator-min-microvolt = <600000 63 regulator-min-microvolt = <600000>; 64 regulator-max-microvolt = <218750 64 regulator-max-microvolt = <2187500>; 65 regulator-min-microamp = <3800000 65 regulator-min-microamp = <3800000>; 66 regulator-max-microamp = <6800000 66 regulator-max-microamp = <6800000>; 67 regulator-boot-on; 67 regulator-boot-on; 68 }; 68 }; 69 69 70 ldo2 { 70 ldo2 { 71 regulator-name = "ldo2"; 71 regulator-name = "ldo2"; 72 regulator-min-microvolt = <800000 72 regulator-min-microvolt = <800000>; 73 regulator-max-microvolt = <397500 73 regulator-max-microvolt = <3975000>; 74 }; 74 }; 75 }; 75 }; 76 }; 76 }; 77 }; 77 }; 78 ... 78 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.