dt-bindings: mfd: ti,j721e-system-controller: Fix incorrect pattern property
authorRob Herring <robh@kernel.org>
Fri, 2 Oct 2020 23:06:06 +0000 (18:06 -0500)
committerRob Herring <robh@kernel.org>
Mon, 5 Oct 2020 12:59:47 +0000 (07:59 -0500)
Pattern properties go under 'patternProperties', not 'properties'.
Otherwise, the pattern is treated as a literal string.

A corresponding meta-schema check has been added to catch bad DT property
names like this.

Fixes: e0f946915b23 ("dt-bindings: mfd: ti,j721e-system-controller.yaml: Add J721e system controller")
Cc: Roger Quadros <rogerq@ti.com>
Cc: Tero Kristo <t-kristo@ti.com>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20201002230606.3522954-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml

index c8fd5d3..da3d9ab 100644 (file)
@@ -38,8 +38,8 @@ properties:
 
   ranges: true
 
-# Optional children
-
+patternProperties:
+  # Optional children
   "^serdes-ln-ctrl@[0-9a-f]+$":
     type: object
     description: |