1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/regulator/mt6315-regulator.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Mediatek MT6315 Regulator 8 9maintainers: 10 - Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com> 11 12description: | 13 The MT6315 is a power management IC (PMIC) configurable with SPMI. 14 that contains 4 BUCKs output which can combine with each other 15 by different efuse settings. 16 17properties: 18 compatible: 19 oneOf: 20 - items: 21 - const: mediatek,mt6319-regulator 22 - const: mediatek,mt6315-regulator 23 - const: mediatek,mt6315-regulator 24 25 reg: 26 maxItems: 1 27 28 regulators: 29 type: object 30 description: List of regulators and its properties 31 32 patternProperties: 33 "^vbuck[1-4]$": 34 type: object 35 $ref: regulator.yaml# 36 unevaluatedProperties: false 37 38 properties: 39 regulator-compatible: 40 pattern: "^vbuck[1-4]$" 41 42 additionalProperties: false 43 44required: 45 - compatible 46 - reg 47 - regulators 48 49additionalProperties: false 50 51examples: 52 - | 53 pmic@6 { 54 compatible = "mediatek,mt6315-regulator"; 55 reg = <0x6 0>; 56 57 regulators { 58 vbuck1 { 59 regulator-compatible = "vbuck1"; 60 regulator-min-microvolt = <300000>; 61 regulator-max-microvolt = <1193750>; 62 regulator-enable-ramp-delay = <256>; 63 regulator-allowed-modes = <0 1 2>; 64 }; 65 66 vbuck3 { 67 regulator-compatible = "vbuck3"; 68 regulator-min-microvolt = <300000>; 69 regulator-max-microvolt = <1193750>; 70 regulator-enable-ramp-delay = <256>; 71 regulator-allowed-modes = <0 1 2>; 72 }; 73 }; 74 }; 75