Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Rob Herring <robh@kernel.org>
Acked-by: Herve Codina <herve.codina@bootlin.com>
Link: https://lore.kernel.org/r/20230925220947.2031536-1-robh@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Rob Herring and committed by
Mark Brown
7b71da59 10560637

+3
+1
Documentation/devicetree/bindings/sound/dialog,da7219.yaml
··· 89 89 90 90 da7219_aad: 91 91 type: object 92 + additionalProperties: false 92 93 description: 93 94 Configuration of advanced accessory detection. 94 95 properties:
+1
Documentation/devicetree/bindings/sound/fsl,qmc-audio.yaml
··· 33 33 description: 34 34 A DAI managed by this controller 35 35 type: object 36 + additionalProperties: false 36 37 37 38 properties: 38 39 reg:
+1
Documentation/devicetree/bindings/sound/ti,pcm3168a.yaml
··· 60 60 61 61 ports: 62 62 $ref: audio-graph-port.yaml#/definitions/port-base 63 + unevaluatedProperties: false 63 64 properties: 64 65 port@0: 65 66 $ref: audio-graph-port.yaml#