public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH dt-schema] schemas: cache: Add missing clocks
@ 2026-01-13  7:52 Geert Uytterhoeven
  2026-01-13  9:16 ` Wolfram Sang
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2026-01-13  7:52 UTC (permalink / raw)
  To: Rob Herring, Conor Dooley, Krzysztof Kozlowski
  Cc: devicetree, linux-renesas-soc, Geert Uytterhoeven

When a cache controller is part of a Clock Domain, it needs to specify
both clocks and power-domains.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
This fixes Linux "make dtbs_check":

    arch/arm/boot/dts/renesas/r8a73a4-ape6evm.dtb: cache-controller-0 (cache): Unevaluated properties are not allowed ('clocks' was unexpected)
	    from schema $id: http://devicetree.org/schemas/cache.yaml
---
 dtschema/schemas/cache.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dtschema/schemas/cache.yaml b/dtschema/schemas/cache.yaml
index 73d345fb7685fdd5..dee1cd54c2f5ceff 100644
--- a/dtschema/schemas/cache.yaml
+++ b/dtschema/schemas/cache.yaml
@@ -33,6 +33,9 @@ properties:
   compatible:
     const: cache
 
+  clocks:
+    maxItems: 1
+
   power-domains:
     maxItems: 1
 
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-01-13  9:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-13  7:52 [PATCH dt-schema] schemas: cache: Add missing clocks Geert Uytterhoeven
2026-01-13  9:16 ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox