| 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 |
|
| 7 |
title: Mediatek MT6315 Regulator |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Hsin-Hsiung Wang <[email protected]> |
| 11 |
|
| 12 |
description: | |
| 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 |
|
| 17 |
properties: |
| 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 |
additionalProperties: false |
| 39 |
|
| 40 |
required: |
| 41 |
- compatible |
| 42 |
- reg |
| 43 |
- regulators |
| 44 |
|
| 45 |
additionalProperties: false |
| 46 |
|
| 47 |
examples: |
| 48 |
- | |
| 49 |
pmic@6 { |
| 50 |
compatible = "mediatek,mt6315-regulator"; |
| 51 |
reg = <0x6 0>; |
| 52 |
|
| 53 |
regulators { |
| 54 |
vbuck1 { |
| 55 |
regulator-min-microvolt = <300000>; |
| 56 |
regulator-max-microvolt = <1193750>; |
| 57 |
regulator-enable-ramp-delay = <256>; |
| 58 |
regulator-allowed-modes = <0 1 2>; |
| 59 |
}; |
| 60 |
|
| 61 |
vbuck3 { |
| 62 |
regulator-min-microvolt = <300000>; |
| 63 |
regulator-max-microvolt = <1193750>; |
| 64 |
regulator-enable-ramp-delay = <256>; |
| 65 |
regulator-allowed-modes = <0 1 2>; |
| 66 |
}; |
| 67 |
}; |
| 68 |
}; |