lkml.org 
[lkml]   [2021]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RESEND PATCH] dt-bindings: arm: intel,keembay: limit the dtschema to root node
Date
From: Krzysztof Kozlowski <krzk@kernel.org>

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>
Acked-by: Daniele Alessandrelli <daniele.alessandrelli@intel.com>
---

Hi Rob,

Can you take it directly?

Best regards,
Krzysztof


---
Documentation/devicetree/bindings/arm/intel,keembay.yaml | 2 ++
1 file changed, 2 insertions(+)

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:
--
2.27.0
\
 
 \ /
  Last update: 2021-05-26 18:28    [W:0.059 / U:2.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site