[PATCH] dt-bindings: bus: stm32mp25-rifsc: Allow 2 size cells

Rob Herring (Arm) posted 1 patch 1 month, 3 weeks ago
Documentation/devicetree/bindings/bus/st,stm32mp25-rifsc.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] dt-bindings: bus: stm32mp25-rifsc: Allow 2 size cells
Posted by Rob Herring (Arm) 1 month, 3 weeks ago
There are users already with 2 size cells, and there's no reason to not
support that.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
 Documentation/devicetree/bindings/bus/st,stm32mp25-rifsc.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/bus/st,stm32mp25-rifsc.yaml b/Documentation/devicetree/bindings/bus/st,stm32mp25-rifsc.yaml
index 4d19917ad2c3..c6280c8c54a3 100644
--- a/Documentation/devicetree/bindings/bus/st,stm32mp25-rifsc.yaml
+++ b/Documentation/devicetree/bindings/bus/st,stm32mp25-rifsc.yaml
@@ -54,7 +54,7 @@ properties:
     const: 1
 
   "#size-cells":
-    const: 1
+    enum: [ 1, 2 ]
 
   ranges: true
 
-- 
2.51.0
Re: [PATCH] dt-bindings: bus: stm32mp25-rifsc: Allow 2 size cells
Posted by Rob Herring (Arm) 1 month, 3 weeks ago
On Mon, 15 Dec 2025 15:26:59 -0600, Rob Herring (Arm) wrote:
> There are users already with 2 size cells, and there's no reason to not
> support that.
> 
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> ---
>  Documentation/devicetree/bindings/bus/st,stm32mp25-rifsc.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Applied, thanks!
Re: [PATCH] dt-bindings: bus: stm32mp25-rifsc: Allow 2 size cells
Posted by Gatien CHEVALLIER 1 month, 3 weeks ago

On 12/15/25 22:26, Rob Herring (Arm) wrote:
> There are users already with 2 size cells, and there's no reason to not
> support that.
> 
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> ---
>   Documentation/devicetree/bindings/bus/st,stm32mp25-rifsc.yaml | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/bus/st,stm32mp25-rifsc.yaml b/Documentation/devicetree/bindings/bus/st,stm32mp25-rifsc.yaml
> index 4d19917ad2c3..c6280c8c54a3 100644
> --- a/Documentation/devicetree/bindings/bus/st,stm32mp25-rifsc.yaml
> +++ b/Documentation/devicetree/bindings/bus/st,stm32mp25-rifsc.yaml
> @@ -54,7 +54,7 @@ properties:
>       const: 1
>   
>     "#size-cells":
> -    const: 1
> +    enum: [ 1, 2 ]
>   
>     ranges: true
>   

Hello Rob,

Thank you!

Reviewed-by: Gatien Chevallier <gatien.chevallier@foss.st.com>

Gatien