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 const: mediatek,mt6315-regulator 20 21 reg: 22 maxItems: 1 23 24 regulators: 25 type: object 26 description: List of regulators and its properties 27 28 patternProperties: 29 "^vbuck[1-4]$": 30 type: object 31 $ref: "regulator.yaml#" 32 33 properties: 34 regulator-name: 35 pattern: "^vbuck[1-4]$" 36 37 additionalProperties: false 38 39required: 40 - compatible 41 - reg 42 - regulators 43 44additionalProperties: false 45 46examples: 47 - | 48 pmic@6 { 49 compatible = "mediatek,mt6315-regulator"; 50 reg = <0x6 0>; 51 52 regulators { 53 vbuck1 { 54 regulator-compatible = "vbuck1"; 55 regulator-min-microvolt = <300000>; 56 regulator-max-microvolt = <1193750>; 57 regulator-enable-ramp-delay = <256>; 58 regulator-allowed-modes = <0 1 2 4>; 59 }; 60 61 vbuck3 { 62 regulator-compatible = "vbuck3"; 63 regulator-min-microvolt = <300000>; 64 regulator-max-microvolt = <1193750>; 65 regulator-enable-ramp-delay = <256>; 66 regulator-allowed-modes = <0 1 2 4>; 67 }; 68 }; 69 }; 70