[PATCH] dt-bindings: arm: Add missing root node constraint for board/SoC bindings

Alexandre Torgue alexandre.torgue at st.com
Mon Oct 5 06:16:13 EDT 2020


Hi Rob,

On 10/1/20 10:09 PM, Rob Herring wrote:
> Board/SoC top-level compatible bindings should be constrained to the root
> node. Add the missing constraints that the node name must be "/".
> 

...

> diff --git a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
> index 790e6dd48e34..696a0101ebcc 100644
> --- a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
> +++ b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
> @@ -10,6 +10,8 @@ maintainers:
>     - Alexandre Torgue <alexandre.torgue at st.com>
>   
>   properties:
> +  $nodename:
> +    const: "/"
>     compatible:
>       oneOf:
>         - items:

Reviewed-by: Alexandre TORGUE <alexandre.torgue at st.com>

thanks
Alex



More information about the linux-arm-kernel mailing list