Commit 1b25b207 authored by Rob Herring's avatar Rob Herring
Browse files

dt-bindings: mfd: ti,j721e-system-controller: Fix incorrect pattern property



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: e0f94691 ("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: default avatarLee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20201002230606.3522954-1-robh@kernel.org


Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 24d59795
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -38,8 +38,8 @@ properties:

  ranges: true

patternProperties:
  # Optional children

  "^serdes-ln-ctrl@[0-9a-f]+$":
    type: object
    description: |