[PATCH v1 2/6] dt-bindings: riscv: cpus: allow clocks property

From: Conor Dooley
Date: Sat Jun 10 2023 - 13:25:25 EST


From: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>

Having disallowed additionalProperties, dtbs_check complains about
unevaluated clocks properties. Permit a single clock, as that's all any
current dts uses.

Signed-off-by: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>
---
Documentation/devicetree/bindings/riscv/cpus.yaml | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml b/Documentation/devicetree/bindings/riscv/cpus.yaml
index e89a10d9c06b..3808a6703b2d 100644
--- a/Documentation/devicetree/bindings/riscv/cpus.yaml
+++ b/Documentation/devicetree/bindings/riscv/cpus.yaml
@@ -58,6 +58,9 @@ properties:
Identifies that the hart uses the RISC-V instruction set
and identifies the type of the hart.

+ clocks:
+ maxItems: 1
+
mmu-type:
description:
Identifies the MMU address translation mode used on this
--
2.39.2