diff options
author | Rob Herring <robh@kernel.org> | 2022-08-23 17:56:39 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-08-23 21:52:40 +0300 |
commit | 9e10a1ded6a1b7ffacbb2d9c75fe6aa91623051b (patch) | |
tree | 4eb0f2d9dbbb284c2682ad5d41f846c89a18eec6 /Documentation/devicetree/bindings/sound/qcom,sm8250.yaml | |
parent | a337c2012774d588fcab318c42edc2601d90e549 (diff) | |
download | linux-9e10a1ded6a1b7ffacbb2d9c75fe6aa91623051b.tar.xz |
ASoC: dt-bindings: Add missing (unevaluated|additional)Properties on child nodes
In order to ensure only documented properties are present, node schemas
must have unevaluatedProperties or additionalProperties set to false
(typically).
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220823145649.3118479-8-robh@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/qcom,sm8250.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/sound/qcom,sm8250.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml b/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml index e6e27d09783e..a3a4289f713e 100644 --- a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml @@ -71,6 +71,8 @@ patternProperties: cpu: description: Holds subnode which indicates cpu dai. type: object + additionalProperties: false + properties: sound-dai: maxItems: 1 @@ -78,6 +80,8 @@ patternProperties: platform: description: Holds subnode which indicates platform dai. type: object + additionalProperties: false + properties: sound-dai: maxItems: 1 @@ -85,6 +89,8 @@ patternProperties: codec: description: Holds subnode which indicates codec dai. type: object + additionalProperties: false + properties: sound-dai: minItems: 1 |