Thread (2 messages) 2 messages, 2 authors, 2026-01-16

Re: [PATCH v2] dt-bindings: remoteproc: mediatek: Remove l1tcm MMIO from MT8188 dual

From: Krzysztof Kozlowski <krzk@kernel.org>
Date: 2026-01-16 08:40:46
Also in: linux-devicetree, linux-mediatek, linux-remoteproc, lkml

On Thu, Jan 15, 2026 at 12:16:45PM +0100, AngeloGioacchino Del Regno wrote:
quoted hunk ↗ jump to hunk
   reg-names:
-    minItems: 2
+    minItems: 1
     maxItems: 3
 
   clocks:
@@ -185,7 +185,7 @@ allOf:
     then:
       properties:
         reg:
-          maxItems: 3
+          minItems: 3
         reg-names:
           items:
             - const: sram
I think you also need to update the if:then: section with
mediatek,mt8183-scp+mediatek,mt8186-scp+mediatek,mt8188-scp
quoted hunk ↗ jump to hunk
@@ -196,11 +196,22 @@ allOf:
         compatible:
           enum:
             - mediatek,mt8188-scp-dual
+    then:
+      properties:
+        reg:
+          maxItems: 1
+        reg-names:
+          items:
+            - const: cfg
+  - if:
+      properties:
+        compatible:
+          enum:
             - mediatek,mt8195-scp-dual
     then:
       properties:
         reg:
-          maxItems: 2
+          minItems: 2
You still need maxItems here, otherwise you change the meaning to 2-3.
         reg-names:
           items:
             - const: cfg
-- 
2.52.0
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help