Skip to content

Commit 32a4cd3

Browse files
bhargav-j47broonie
authored andcommitted
regulator: dt-bindings: mps,mp8859: convert to DT schema
Convert the Monolithic Power Systems MP8859 voltage regulator binding from legacy text format to DT schema. This patch does not change any functionality, the bindings remain the same. Signed-off-by: Bhargav Joshi <rougueprince47@gmail.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Link: https://patch.msgid.link/20260325230559.73527-1-rougueprince47@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 3dacdda commit 32a4cd3

2 files changed

Lines changed: 54 additions & 22 deletions

File tree

Documentation/devicetree/bindings/regulator/mp8859.txt

Lines changed: 0 additions & 22 deletions
This file was deleted.
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
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,mp8859.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Monolithic Power Systems MP8859 Voltage Regulator
8+
9+
maintainers:
10+
- Markus Reichl <reichl@t-online.de>
11+
12+
description:
13+
The MP8859 is a synchronous, 4-switch, integrated buck-boost converter
14+
capable of regulating the output voltage from 2.8V to 22V wide input voltage
15+
range with high efficiency.
16+
17+
properties:
18+
compatible:
19+
const: mps,mp8859
20+
21+
reg:
22+
maxItems: 1
23+
24+
mp8859_dcdc:
25+
$ref: /schemas/regulator/regulator.yaml#
26+
type: object
27+
description: DCDC regulator subnode
28+
unevaluatedProperties: false
29+
30+
required:
31+
- compatible
32+
- reg
33+
34+
additionalProperties: false
35+
36+
examples:
37+
- |
38+
i2c {
39+
#address-cells = <1>;
40+
#size-cells = <0>;
41+
42+
regulator@66 {
43+
compatible = "mps,mp8859";
44+
reg = <0x66>;
45+
46+
mp8859_dcdc {
47+
regulator-name = "dc_12v";
48+
regulator-min-microvolt = <12000000>;
49+
regulator-max-microvolt = <12000000>;
50+
regulator-boot-on;
51+
regulator-always-on;
52+
};
53+
};
54+
};

0 commit comments

Comments
 (0)