[PATCH 2/3] regulator: dt-bindings: mp886x: support mp8864
From: Jisheng Zhang
Date: Tue Sep 01 2026 - 00:52:56 EST
The MP8864 is a 4 A, 21 V synchronous step-down converter. Its
register layout and voltage transition handling are compatible with the
MP8867, but its selectable switching frequencies are 600 kHz, 850 kHz,
1.1 MHz and 1.6 MHz.
Add the compatible and chip-specific switching-frequency table.
Signed-off-by: Jisheng Zhang <jszhang@xxxxxxxxxx>
Assisted-by: Codex:gpt-5
---
.../bindings/regulator/mps,mp886x.yaml | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/regulator/mps,mp886x.yaml b/Documentation/devicetree/bindings/regulator/mps,mp886x.yaml
index 374a4f6b1e23..6cf7c1c3c0c3 100644
--- a/Documentation/devicetree/bindings/regulator/mps,mp886x.yaml
+++ b/Documentation/devicetree/bindings/regulator/mps,mp886x.yaml
@@ -4,17 +4,30 @@
$id: http://devicetree.org/schemas/regulator/mps,mp886x.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
-title: Monolithic Power Systems MP8867/MP8869 voltage regulator
+title: Monolithic Power Systems MP8864/MP8867/MP8869 voltage regulator
maintainers:
- Jisheng Zhang <jszhang@xxxxxxxxxx>
allOf:
- $ref: regulator.yaml#
+ - if:
+ properties:
+ compatible:
+ const: mps,mp8864
+ then:
+ properties:
+ mps,switch-frequency-hz:
+ enum: [600000, 850000, 1100000, 1600000]
+ else:
+ properties:
+ mps,switch-frequency-hz:
+ enum: [500000, 750000, 1000000, 1250000, 1500000]
properties:
compatible:
enum:
+ - mps,mp8864
- mps,mp8867
- mps,mp8869
@@ -33,7 +46,6 @@ properties:
mps,switch-frequency-hz:
description: The valid switch frequency in Hertz.
- enum: [500000, 750000, 1000000, 1250000, 1500000]
required:
- compatible
--
2.51.0