2021-02-11 15:35:44

by Alessandrelli, Daniele

[permalink] [raw]
Subject: Re: [PATCH 02/11] dt-bindings: arm: intel,keembay: limit the dtschema to root node

Hi Krzysztof,

Thanks for the fix.


On Wed, 2021-02-10 at 18:18 +0100, Krzysztof Kozlowski wrote:
> The check for the board compatible should be limited only to the root
> node. Any other nodes with such compatible are not part of this schema
> and should not match.
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>
> ---
> Documentation/devicetree/bindings/arm/intel,keembay.yaml | 2 ++
> 1 file changed, 2 insertions(+)

Acked-by: Daniele Alessandrelli <[email protected]>

>
> diff --git a/Documentation/devicetree/bindings/arm/intel,keembay.yaml b/Documentation/devicetree/bindings/arm/intel,keembay.yaml
> index 69cd30872928..107e686ab207 100644
> --- a/Documentation/devicetree/bindings/arm/intel,keembay.yaml
> +++ b/Documentation/devicetree/bindings/arm/intel,keembay.yaml
> @@ -11,6 +11,8 @@ maintainers:
> - Daniele Alessandrelli <[email protected]>
>
> properties:
> + $nodename:
> + const: '/'
> compatible:
> items:
> - enum: