* [RFC PATCH] dt-bindings: regulator: mps,mp8859: convert to DT schema
@ 2026-03-13 12:21 Bhargav Joshi
2026-03-13 13:47 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Bhargav Joshi @ 2026-03-13 12:21 UTC (permalink / raw)
To: sravanhome, lgirdwood, broonie, krzk+dt, robh, conor+dt, m.reichl
Cc: daniel.baluta, simona.toaca, d-gole, linux-kernel, devicetree,
rougueprince47
Convert the Monolithic Power Systems MP8859 voltage regulator binding
from legacy text format to DT schema.
Signed-off-by: Bhargav Joshi <rougueprince47@gmail.com>
---
Note:this patch is part of the process for applying to GSoC device tree
bindings conversion project
#https://github.com/LinuxFoundationGSoC/ProjectIdeas/wiki/GSoC-2026-Device-Tree-Bindings
.../devicetree/bindings/regulator/mp8859.txt | 22 --------
.../bindings/regulator/mps,mp8859.yaml | 54 +++++++++++++++++++
2 files changed, 54 insertions(+), 22 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/regulator/mp8859.txt
create mode 100644 Documentation/devicetree/bindings/regulator/mps,mp8859.yaml
diff --git a/Documentation/devicetree/bindings/regulator/mp8859.txt b/Documentation/devicetree/bindings/regulator/mp8859.txt
deleted file mode 100644
index 74ad69730989..000000000000
--- a/Documentation/devicetree/bindings/regulator/mp8859.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Monolithic Power Systems MP8859 voltage regulator
-
-Required properties:
-- compatible: "mps,mp8859";
-- reg: I2C slave address.
-
-Optional subnode for regulator: "mp8859_dcdc", using common regulator
-bindings given in <Documentation/devicetree/bindings/regulator/regulator.txt>.
-
-Example:
-
- mp8859: regulator@66 {
- compatible = "mps,mp8859";
- reg = <0x66>;
- dc_12v: mp8859_dcdc {
- regulator-name = "dc_12v";
- regulator-min-microvolt = <12000000>;
- regulator-max-microvolt = <12000000>;
- regulator-boot-on;
- regulator-always-on;
- };
- };
diff --git a/Documentation/devicetree/bindings/regulator/mps,mp8859.yaml b/Documentation/devicetree/bindings/regulator/mps,mp8859.yaml
new file mode 100644
index 000000000000..144876aabd25
--- /dev/null
+++ b/Documentation/devicetree/bindings/regulator/mps,mp8859.yaml
@@ -0,0 +1,54 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/regulator/mps,mp8859.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Monolithic Power Systems MP8859 Voltage Regulator
+
+maintainers:
+ - Markus Reichl <m.reichl@fivetechno.de>
+
+description:
+ The MP8859 is a synchronous, 4-switch, integrated buck-boost converter
+ capable of regulating the output voltage from 2.8V to 22V wide input voltage
+ range with high efficiency.
+
+properties:
+ compatible:
+ const: mps,mp8859
+
+ reg:
+ maxItems: 1
+
+ mp8859_dcdc:
+ $ref: /schemas/regulator/regulator.yaml#
+ type: object
+ description: DCDC regulator subnode
+ unevaluatedProperties: false
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ regulator@66 {
+ compatible = "mps,mp8859";
+ reg = <0x66>;
+
+ mp8859_dcdc {
+ regulator-name = "dc_12v";
+ regulator-min-microvolt = <12000000>;
+ regulator-max-microvolt = <12000000>;
+ regulator-boot-on;
+ regulator-always-on;
+ };
+ };
+ };
--
2.53.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [RFC PATCH] dt-bindings: regulator: mps,mp8859: convert to DT schema
2026-03-13 12:21 [RFC PATCH] dt-bindings: regulator: mps,mp8859: convert to DT schema Bhargav Joshi
@ 2026-03-13 13:47 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2026-03-13 13:47 UTC (permalink / raw)
To: Bhargav Joshi
Cc: sravanhome, lgirdwood, krzk+dt, robh, conor+dt, m.reichl,
daniel.baluta, simona.toaca, d-gole, linux-kernel, devicetree
[-- Attachment #1: Type: text/plain, Size: 506 bytes --]
On Fri, Mar 13, 2026 at 05:51:36PM +0530, Bhargav Joshi wrote:
> Convert the Monolithic Power Systems MP8859 voltage regulator binding
> from legacy text format to DT schema.
Please submit patches using subject lines reflecting the style for the
subsystem, this makes it easier for people to identify relevant patches.
Look at what existing commits in the area you're changing are doing and
make sure your subject lines visually resemble what they're doing.
There's no need to resubmit to fix this alone.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-03-13 13:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-13 12:21 [RFC PATCH] dt-bindings: regulator: mps,mp8859: convert to DT schema Bhargav Joshi
2026-03-13 13:47 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox