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

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.orgSigned-off-by: default avatarRob Herring <robh@kernel.org>
parent 24d59795
...@@ -38,8 +38,8 @@ properties: ...@@ -38,8 +38,8 @@ properties:
ranges: true ranges: true
# Optional children patternProperties:
# Optional children
"^serdes-ln-ctrl@[0-9a-f]+$": "^serdes-ln-ctrl@[0-9a-f]+$":
type: object type: object
description: | description: |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment