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: e0f946915b ("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>
This commit is contained in:
Rob Herring 2020-10-02 18:06:06 -05:00
parent 24d5979549
commit 1b25b207d2
1 changed files with 2 additions and 2 deletions

View File

@ -38,8 +38,8 @@ properties:
ranges: true
# Optional children
patternProperties:
# Optional children
"^serdes-ln-ctrl@[0-9a-f]+$":
type: object
description: |