diff options
author | Rob Herring <[email protected]> | 2023-10-16 10:55:47 -0500 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-10-17 12:59:16 +0100 |
commit | 086357275fc7635c5a2856c667b3d2f7604403fa (patch) | |
tree | 675b2624954236e92f4385234b4afe33b0a37284 | |
parent | 85045a9e445ac2400af7c37e169f58dc6f400d4c (diff) |
ASoC: dt-bindings: tas5805m: Disallow undefined properties
Device specific bindings should not allow undefined properties. This is
accomplished in json-schema with 'additionalProperties: false'.
Examples should be last in the schema, so move additionalProperties up
while we're here.
Signed-off-by: Rob Herring <[email protected]>
Acked-by: Conor Dooley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
-rw-r--r-- | Documentation/devicetree/bindings/sound/tas5805m.yaml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/sound/tas5805m.yaml b/Documentation/devicetree/bindings/sound/tas5805m.yaml index 63edf52f061c..12c41974274e 100644 --- a/Documentation/devicetree/bindings/sound/tas5805m.yaml +++ b/Documentation/devicetree/bindings/sound/tas5805m.yaml @@ -37,6 +37,8 @@ properties: generated from TI's PPC3 tool. $ref: /schemas/types.yaml#/definitions/string +additionalProperties: false + examples: - | i2c { @@ -52,5 +54,4 @@ examples: ti,dsp-config-name = "mono_pbtl_48khz"; }; }; - -additionalProperties: true +... |