1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/regulator/maxim,max77838.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Maxim Integrated MAX77838 PMIC 8 9maintainers: 10 - Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com> 11 12properties: 13 $nodename: 14 pattern: "pmic@[0-9a-f]{1,2}" 15 compatible: 16 enum: 17 - maxim,max77838 18 19 reg: 20 maxItems: 1 21 22 regulators: 23 type: object 24 $ref: regulator.yaml# 25 description: | 26 list of regulators provided by this controller, must be named 27 after their hardware counterparts ldo[1-4] and buck 28 29 properties: 30 buck: 31 type: object 32 $ref: regulator.yaml# 33 unevaluatedProperties: false 34 35 patternProperties: 36 "^ldo([1-4])$": 37 type: object 38 $ref: regulator.yaml# 39 unevaluatedProperties: false 40 41 additionalProperties: false 42 43required: 44 - compatible 45 - reg 46 - regulators 47 48additionalProperties: false 49 50examples: 51 - | 52 i2c { 53 #address-cells = <1>; 54 #size-cells = <0>; 55 56 pmic@60 { 57 compatible = "maxim,max77838"; 58 reg = <0x60>; 59 60 regulators { 61 ldo2 { 62 regulator-min-microvolt = <1800000>; 63 regulator-max-microvolt = <1800000>; 64 }; 65 }; 66 }; 67 }; 68... 69