Skip to content

Commit 1ba7dfb

Browse files
ssekar15robherring
authored andcommitted
dt-bindings: regulator: Add mps,mpq7932 power-management IC
Document mpq7932 power-management IC Signed-off-by: Saravanan Sekar <[email protected]> Acked-by: Guenter Roeck <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
1 parent b4858dc commit 1ba7dfb

File tree

1 file changed

+68
-0
lines changed

1 file changed

+68
-0
lines changed
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
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,mpq7932.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Monolithic Power System MPQ7932 PMIC
8+
9+
maintainers:
10+
- Saravanan Sekar <[email protected]>
11+
12+
properties:
13+
compatible:
14+
enum:
15+
- mps,mpq7932
16+
17+
reg:
18+
maxItems: 1
19+
20+
regulators:
21+
type: object
22+
description: |
23+
list of regulators provided by this controller, must be named
24+
after their hardware counterparts BUCK[1-6]
25+
26+
patternProperties:
27+
"^buck[1-6]$":
28+
type: object
29+
$ref: regulator.yaml#
30+
unevaluatedProperties: false
31+
32+
additionalProperties: false
33+
34+
required:
35+
- compatible
36+
- reg
37+
- regulators
38+
39+
additionalProperties: false
40+
41+
examples:
42+
- |
43+
i2c {
44+
#address-cells = <1>;
45+
#size-cells = <0>;
46+
47+
pmic@3 {
48+
compatible = "mps,mpq7932";
49+
reg = <0x3>;
50+
51+
regulators {
52+
buck1 {
53+
regulator-name = "buck1";
54+
regulator-min-microvolt = <1600000>;
55+
regulator-max-microvolt = <1800000>;
56+
regulator-boot-on;
57+
};
58+
59+
buck2 {
60+
regulator-name = "buck2";
61+
regulator-min-microvolt = <1700000>;
62+
regulator-max-microvolt = <1800000>;
63+
regulator-boot-on;
64+
};
65+
};
66+
};
67+
};
68+
...

0 commit comments

Comments
 (0)