[PATCH 6/6] dt-bindings: Add YAML schemas for Marvell Odyssey DDR PMU
From: Gowthami Thiagarajan
Date: Fri Jun 30 2023 - 08:05:45 EST
Add device tree bindings for Marvell Odyssey DDR PMU.
Signed-off-by: Gowthami Thiagarajan <gthiagarajan@xxxxxxxxxxx>
---
.../devicetree/bindings/perf/marvell-cn10k-ddr.yaml | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/perf/marvell-cn10k-ddr.yaml b/Documentation/devicetree/bindings/perf/marvell-cn10k-ddr.yaml
index a18dd0a8c43a..a435cbf4aea0 100644
--- a/Documentation/devicetree/bindings/perf/marvell-cn10k-ddr.yaml
+++ b/Documentation/devicetree/bindings/perf/marvell-cn10k-ddr.yaml
@@ -11,10 +11,15 @@ maintainers:
properties:
compatible:
- items:
+ oneOf:
- enum:
- marvell,cn10k-ddr-pmu
-
+ - marvell,odyssey-ddr-pmu
+ - items:
+ - enum:
+ - marvell,cn10k-ddr-pmu
+ - marvell,odyssey-ddr-pmu
+ - const: marvell,cn10k-ddr-pmu
reg:
maxItems: 1
--
2.25.1