diff mbox series

[02/11] dt-bindings: arm: intel, keembay: limit the dtschema to root node

Message ID 20210210171823.333802-2-krzk@kernel.org (mailing list archive)
State RFC
Headers show
Series [01/11] arm64: defconfig: enable Intel's eASIC N5X SoCFPGA and Keem Bay SoC | expand

Commit Message

Krzysztof Kozlowski Feb. 10, 2021, 5:18 p.m. UTC
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 <krzk@kernel.org>
---
 Documentation/devicetree/bindings/arm/intel,keembay.yaml | 2 ++
 1 file changed, 2 insertions(+)

Comments

Alessandrelli, Daniele Feb. 11, 2021, 3:03 p.m. UTC | #1
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 <krzk@kernel.org>
> ---
>  Documentation/devicetree/bindings/arm/intel,keembay.yaml | 2 ++
>  1 file changed, 2 insertions(+)

Acked-by: Daniele Alessandrelli <daniele.alessandrelli@intel.com>

> 
> 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 <daniele.alessandrelli@intel.com>
>  
>  properties:
> +  $nodename:
> +    const: '/'
>    compatible:
>      items:
>        - enum:
diff mbox series

Patch

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 <daniele.alessandrelli@intel.com>
 
 properties:
+  $nodename:
+    const: '/'
   compatible:
     items:
       - enum: