]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
dt-bindings: cache: add specific RZ/Five compatible to ax45mp
authorConor Dooley <conor.dooley@microchip.com>
Mon, 12 May 2025 13:48:14 +0000 (14:48 +0100)
committerConor Dooley <conor.dooley@microchip.com>
Mon, 12 May 2025 15:53:29 +0000 (16:53 +0100)
When the binding was originally written, it was assumed that all
ax45mp-caches had the same properties etc. This has turned out to be
incorrect, as the QiLai SoC has a different number of cache-sets.

Add a specific compatible for the RZ/Five for property enforcement and
in case there turns out to be additional differences between these
implementations of the cache controller.

Acked-by: Ben Zong-You Xie <ben717@andestech.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Documentation/devicetree/bindings/cache/andestech,ax45mp-cache.yaml

index d2cbe49f4e15fdc4791c70ae3eaf2589c43bcce7..82668d327344efb41ea86692d8bda1f27f055c0b 100644 (file)
@@ -28,6 +28,7 @@ select:
 properties:
   compatible:
     items:
+      - const: renesas,r9a07g043f-ax45mp-cache
       - const: andestech,ax45mp-cache
       - const: cache
 
@@ -70,7 +71,8 @@ examples:
     #include <dt-bindings/interrupt-controller/irq.h>
 
     cache-controller@13400000 {
-        compatible = "andestech,ax45mp-cache", "cache";
+        compatible = "renesas,r9a07g043f-ax45mp-cache", "andestech,ax45mp-cache",
+                     "cache";
         reg = <0x13400000 0x100000>;
         interrupts = <508 IRQ_TYPE_LEVEL_HIGH>;
         cache-line-size = <64>;