Skip to contentSkip to conversation

dt-bindings: bus: stm32mp25-rifsc: Allow 2 size cells

PATCH Applied Rob Herring (Arm) 2 participants 3 messages Dec 15, 2025 – Dec 16, 2025

Subsystems (2)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: bus: stm32mp25-rifsc: Allow 2 size cells

There are users already with 2 size cells, and there's no reason to not support that.

---
 Documentation/devicetree/bindings/bus/st,stm32mp25-rifsc.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/bus/st,stm32mp25-rifsc.yaml +1 -1
index 4d19917ad2c3..c6280c8c54a3 100644
@@ -54,7 +54,7 @@ properties:
     const: 1
 
   "#size-cells":
-    const: 1
+    enum: [ 1, 2 ]
 
   ranges: true
 
Signature · 1 line
2.51.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 13 lines · Rob Herring (Arm)

There are users already with 2 size cells, and there's no reason to not support that.

---
  Documentation/devicetree/bindings/bus/st,stm32mp25-rifsc.yaml | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/bus/st,stm32mp25-rifsc.yaml +0 -0
index 4d19917ad2c3..c6280c8c54a3 100644

Documentation/devicetree/bindings/bus/st,stm32mp25-rifsc.yaml properties: · line 60

Quoted 8 lines
Documentation/devicetree/bindings/bus/st,stm32mp25-rifsc.yaml +1 -1
@@ -54,7 +54,7 @@ properties:
      const: 1
 
    "#size-cells":
-    const: 1
+    enum: [ 1, 2 ]
 
    ranges: true
 

Hello Rob,

Thank you!

Gatien