Commit 7b71da59 authored by Rob Herring's avatar Rob Herring Committed by Mark Brown

ASoC: dt-bindings: Add missing (unevaluated|additional)Properties on child node schemas

Just as unevaluatedProperties or additionalProperties are required at
the top level of schemas, they should (and will) also be required for
child node schemas. That ensures only documented properties are
present for any node.

Add unevaluatedProperties or additionalProperties as appropriate.
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarHerve Codina <herve.codina@bootlin.com>
Link: https://lore.kernel.org/r/20230925220947.2031536-1-robh@kernel.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 10560637
...@@ -89,6 +89,7 @@ properties: ...@@ -89,6 +89,7 @@ properties:
da7219_aad: da7219_aad:
type: object type: object
additionalProperties: false
description: description:
Configuration of advanced accessory detection. Configuration of advanced accessory detection.
properties: properties:
......
...@@ -33,6 +33,7 @@ patternProperties: ...@@ -33,6 +33,7 @@ patternProperties:
description: description:
A DAI managed by this controller A DAI managed by this controller
type: object type: object
additionalProperties: false
properties: properties:
reg: reg:
......
...@@ -60,6 +60,7 @@ properties: ...@@ -60,6 +60,7 @@ properties:
ports: ports:
$ref: audio-graph-port.yaml#/definitions/port-base $ref: audio-graph-port.yaml#/definitions/port-base
unevaluatedProperties: false
properties: properties:
port@0: port@0:
$ref: audio-graph-port.yaml# $ref: audio-graph-port.yaml#
......
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