]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
dt-bindings: vendor-prefixes: Also allow node names starting with '_'
authorRob Herring <robh@kernel.org>
Fri, 17 May 2019 21:18:13 +0000 (16:18 -0500)
committerRob Herring <robh@kernel.org>
Thu, 13 Jun 2019 16:59:58 +0000 (10:59 -0600)
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.

Reviewed-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/vendor-prefixes.yaml

index e68c839e9f51bbf206ddc51f6b12bcfa18cd64da..a777168432d074d2a24cfdaa4cd6ab5e3437eca1 100644 (file)
@@ -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