mirror of
https://github.com/torvalds/linux.git
synced 2026-05-22 06:01:53 +02:00
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>
This commit is contained in:
parent
1056063756
commit
7b71da5912
|
|
@ -89,6 +89,7 @@ properties:
|
|||
|
||||
da7219_aad:
|
||||
type: object
|
||||
additionalProperties: false
|
||||
description:
|
||||
Configuration of advanced accessory detection.
|
||||
properties:
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ patternProperties:
|
|||
description:
|
||||
A DAI managed by this controller
|
||||
type: object
|
||||
additionalProperties: false
|
||||
|
||||
properties:
|
||||
reg:
|
||||
|
|
|
|||
|
|
@ -60,6 +60,7 @@ properties:
|
|||
|
||||
ports:
|
||||
$ref: audio-graph-port.yaml#/definitions/port-base
|
||||
unevaluatedProperties: false
|
||||
properties:
|
||||
port@0:
|
||||
$ref: audio-graph-port.yaml#
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user