Skip to contentSkip to conversation

dt-bindings: arm: intel,keembay: limit the dtschema to root node

PATCH RESEND Applied Krzysztof Kozlowski 2 participants 2 messages May 26, 2021 – Jun 2, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 dt-bindings: arm: intel,keembay: limit the dtschema to root node

From: Krzysztof Kozlowski <[email protected]>

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.

---

Hi Rob,

Can you take it directly?

Best regards,
Krzysztof

---
 Documentation/devicetree/bindings/arm/intel,keembay.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/arm/intel,keembay.yaml +2 -0
index 69cd30872928..107e686ab207 100644
@@ -11,6 +11,8 @@ maintainers:
   - Daniele Alessandrelli <[email protected]>
 
 properties:
+  $nodename:
+    const: '/'
   compatible:
     items:
       - enum:
Signature · 1 line
2.27.0
maintainer Applied
#1 lore raw
Quoted 14 lines · Krzysztof Kozlowski

From: Krzysztof Kozlowski <[email protected]>

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.

---

Hi Rob,

Can you take it directly?

Quoted 8 lines

Best regards,
Krzysztof

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

Applied, thanks!