[PATCH 6/6] dt-bindings: Add YAML schemas for Marvell Odyssey DDR PMU

Gowthami Thiagarajan
2023-06-30T12:05:17Z

Add device tree bindings for Marvell Odyssey DDR PMU.

Signed-off-by: Gowthami Thiagarajan <gthiagarajan@marvell.com>
---
.../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