| 1 |
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/regulator/mps,mpq2286.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Monolithic Power System MPQ2286 PMIC |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Saravanan Sekar <[email protected]> |
| 11 |
|
| 12 |
properties: |
| 13 |
compatible: |
| 14 |
enum: |
| 15 |
- mps,mpq2286 |
| 16 |
|
| 17 |
reg: |
| 18 |
maxItems: 1 |
| 19 |
|
| 20 |
regulators: |
| 21 |
type: object |
| 22 |
|
| 23 |
properties: |
| 24 |
buck: |
| 25 |
type: object |
| 26 |
$ref: regulator.yaml# |
| 27 |
|
| 28 |
unevaluatedProperties: false |
| 29 |
|
| 30 |
additionalProperties: false |
| 31 |
|
| 32 |
required: |
| 33 |
- compatible |
| 34 |
- reg |
| 35 |
- regulators |
| 36 |
|
| 37 |
additionalProperties: false |
| 38 |
|
| 39 |
examples: |
| 40 |
- | |
| 41 |
i2c { |
| 42 |
#address-cells = <1>; |
| 43 |
#size-cells = <0>; |
| 44 |
|
| 45 |
pmic@3 { |
| 46 |
compatible = "mps,mpq2286"; |
| 47 |
reg = <0x3>; |
| 48 |
|
| 49 |
regulators { |
| 50 |
buck { |
| 51 |
regulator-name = "buck"; |
| 52 |
regulator-min-microvolt = <1600000>; |
| 53 |
regulator-max-microvolt = <1800000>; |
| 54 |
regulator-boot-on; |
| 55 |
}; |
| 56 |
}; |
| 57 |
}; |
| 58 |
}; |
| 59 |
... |