Thread (6 messages) 6 messages, 6 authors, 2020-10-05

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

From: Alexandre Torgue <hidden>
Date: 2020-10-05 10:17:04
Also in: linux-devicetree

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 "/".
...
quoted hunk ↗ jump to hunk
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@st.com>
  
  properties:
+  $nodename:
+    const: "/"
    compatible:
      oneOf:
        - items:
Reviewed-by: Alexandre TORGUE <redacted>

thanks
Alex

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help