diff mbox series

[1/2] dt-bindings: vendor-prefixes: Also allow node names starting with '_'

Message ID 20190613144210.22181-1-robh@kernel.org
State Accepted
Commit f7a6463e389e9222e5d6fb60211673e06a307438
Headers show
Series [1/2] dt-bindings: vendor-prefixes: Also allow node names starting with '_' | expand

Commit Message

Rob Herring June 13, 2019, 2:42 p.m. UTC
Generated nodes for overlays begin with '_'. The binding examples are
built as overlays in order to allow unresolved phandles, so we need to
allow the generated node names.

Signed-off-by: Rob Herring <robh@kernel.org>

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.20.1
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
index e68c839e9f51..a777168432d0 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -1028,7 +1028,7 @@  patternProperties:
 
   # Normal property name match without a comma
   # These should catch all node/property names without a prefix
-  "^[a-zA-Z0-9#][a-zA-Z0-9+\\-._@]{0,63}$": true
+  "^[a-zA-Z0-9#_][a-zA-Z0-9+\\-._@]{0,63}$": true
   "^[a-zA-Z0-9+\\-._]*@[0-9a-zA-Z,]*$": true
   "^#.*": true